Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009758/0.0009758, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009124/0.0009124, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8839/0.8839, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3065/0.3065, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.736e-05, allocations: 2.312 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007334/0.007361, allocations: 5.266 MB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.01072, allocations: 1.619 MB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.01107, allocations: 16 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.01297, allocations: 1.696 MB / 387.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006903/0.01366, allocations: 325.4 kB / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.01442, allocations: 0.5101 MB / 388.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.01528, allocations: 0.8354 MB / 389 MB, free: 7.785 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009227/0.01621, allocations: 0.6312 MB / 389.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.01676, allocations: 0.5029 MB / 390.2 MB, free: 6.637 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.01716, allocations: 359 kB / 390.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.01731, allocations: 76 kB / 390.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.01767, allocations: 199.7 kB / 390.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.01776, allocations: 179.3 kB / 391 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.01795, allocations: 287.3 kB / 391.2 MB, free: 5.559 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007717/0.01872, allocations: 0.7588 MB / 392 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01873, allocations: 0 / 392 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01873, allocations: 4 kB / 392 MB, free: 4.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.01875, allocations: 0 / 392 MB, free: 4.793 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002141/0.02089, allocations: 1.424 MB / 393.4 MB, free: 3.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.02093, allocations: 8.031 kB / 393.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.02192, allocations: 391.8 kB / 393.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.02211, allocations: 204.1 kB / 394 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.02217, allocations: 74.38 kB / 394.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.02228, allocations: 104.3 kB / 394.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.02319, allocations: 0.7608 MB / 394.9 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.02321, allocations: 3.938 kB / 395 MB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.02327, allocations: 43.94 kB / 395 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.02328, allocations: 24 kB / 395 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.0239, allocations: 419.6 kB / 395.4 MB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.02707, allocations: 2.874 MB / 398.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.02799, allocations: 0.7906 MB / 399.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.0282, allocations: 204.4 kB / 399.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.02826, allocations: 28.3 kB / 399.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.02829, allocations: 57.52 kB / 399.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.256e-06/0.02829, allocations: 4 kB / 399.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001319/0.02961, allocations: 0.8734 MB / 400.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.02966, allocations: 136.5 kB / 400.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.02988, allocations: 348 kB / 400.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.0299, allocations: 33.7 kB / 400.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.03008, allocations: 458.5 kB / 401.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.0302, allocations: 246 kB / 401.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.03033, allocations: 156.2 kB / 401.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.03045, allocations: 0.5235 MB / 402.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.03062, allocations: 121.9 kB / 402.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.03089, allocations: 414.1 kB / 402.6 MB, free: 9.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/0.03157, allocations: 0.5507 MB / 403.2 MB, free: 8.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.03157, allocations: 8 kB / 403.2 MB, free: 8.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008661/0.03244, allocations: 0.7491 MB / 404 MB, free: 8.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.03246, allocations: 8 kB / 404 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.03247, allocations: 4.5 kB / 404 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.03315, allocations: 262.5 kB / 404.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.0334, allocations: 143.7 kB / 404.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.03706, allocations: 7.768 MB / 412.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.03728, allocations: 83.41 kB / 412.2 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.03731, allocations: 31.98 kB / 412.2 MB, free: 15.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.03746, allocations: 204.3 kB / 412.4 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.03755, allocations: 63.8 kB / 412.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.03817, allocations: 0.5614 MB / 413.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.03818, allocations: 11.94 kB / 413.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.03818, allocations: 4 kB / 413.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.03819, allocations: 7.984 kB / 413.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.03943, allocations: 1.335 MB / 414.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03943, allocations: 0 / 414.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.03957, allocations: 63.91 kB / 414.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.04009, allocations: 262.8 kB / 414.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.04012, allocations: 12 kB / 414.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.04343, allocations: 7.764 MB / 422.5 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.04343, allocations: 0 / 422.5 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.04428, allocations: 1.151 MB / 423.7 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.04432, allocations: 47.58 kB / 423.7 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.04435, allocations: 16.05 kB / 423.7 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.0445, allocations: 20 kB / 423.8 MB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/0.04459, allocations: 59.83 kB / 423.8 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.04461, allocations: 16 kB / 423.8 MB, free: 3.176 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.04473, allocations: 221 kB / 424 MB, free: 2.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04473, allocations: 0 / 424 MB, free: 2.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008301/0.04556, allocations: 279.3 kB / 424.3 MB, free: 2.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.04576, allocations: 143.2 kB / 424.5 MB, free: 2.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009162/0.04667, allocations: 1.183 MB / 425.6 MB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.04668, allocations: 0 / 425.6 MB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.04719, allocations: 0.9573 MB / 426.6 MB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.04759, allocations: 60.2 kB / 426.7 MB, free: 196 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.04911, allocations: 1.137 MB / 427.8 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.04923, allocations: 151.5 kB / 427.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.04937, allocations: 64.42 kB / 428 MB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.04943, allocations: 40.48 kB / 428 MB, free: 14.73 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.04943, allocations: 0 / 428 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01067/0.0601, allocations: 7.293 MB / 435.3 MB, free: 7.516 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3482016562484205]