Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001715/0.001715, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 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.002049/0.002049, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 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 1.476/1.476, allocations: 227.4 MB / 251.6 MB, free: 312 kB / 190.1 MB " [Timeout remaining time 178] 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.2367/0.2367, allocations: 46.17 MB / 351.1 MB, free: 14.34 MB / 286.1 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 80.52 kB / 490.2 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1578, allocations: 62.45 MB / 0.5397 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004247/0.1621, allocations: 2.492 MB / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.164, allocations: 1.094 MB / 0.5432 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.1642, allocations: 4 kB / 0.5432 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.1655, allocations: 0.5164 MB / 0.5437 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1658, allocations: 107.3 kB / 0.5438 GB, free: 72 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.1668, allocations: 478.1 kB / 0.5442 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.1671, allocations: 231 kB / 0.5445 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.1676, allocations: 250.2 kB / 0.5447 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1678, allocations: 95.7 kB / 0.5448 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.168, allocations: 131.5 kB / 0.5449 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.168, allocations: 20 kB / 0.5449 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.1684, allocations: 163.8 kB / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.1684, allocations: 43.84 kB / 0.5451 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1686, allocations: 115.5 kB / 0.5452 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.1691, allocations: 402.5 kB / 0.5456 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1691, allocations: 0 / 0.5456 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1691, allocations: 4 kB / 0.5456 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1691, allocations: 0 / 0.5456 GB, free: 14.17 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001312/0.1705, allocations: 0.6236 MB / 0.5462 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1705, allocations: 12.03 kB / 0.5462 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.1708, allocations: 52.75 kB / 0.5463 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.171, allocations: 192.1 kB / 0.5465 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.171, allocations: 28.81 kB / 0.5465 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.1711, allocations: 24.38 kB / 0.5465 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.1717, allocations: 295.7 kB / 0.5468 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1717, allocations: 0 / 0.5468 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.1718, allocations: 12 kB / 0.5468 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1718, allocations: 4 kB / 0.5468 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.1724, allocations: 233.6 kB / 0.547 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.1739, allocations: 0.9977 MB / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.1745, allocations: 376.9 kB / 0.5484 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.1749, allocations: 137.7 kB / 0.5485 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.1751, allocations: 174.2 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1751, allocations: 30.56 kB / 0.5487 GB, free: 10.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.1751, allocations: 0 / 0.5487 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001297/0.1764, allocations: 0.503 MB / 0.5492 GB, free: 10.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.1765, allocations: 81.11 kB / 0.5493 GB, free: 10.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1767, allocations: 139.5 kB / 0.5494 GB, free: 9.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1767, allocations: 33.7 kB / 0.5494 GB, free: 9.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1769, allocations: 144.3 kB / 0.5496 GB, free: 9.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.177, allocations: 75.36 kB / 0.5496 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.177, allocations: 37.7 kB / 0.5497 GB, free: 9.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1773, allocations: 322.8 kB / 0.55 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.1775, allocations: 71.95 kB / 0.5501 GB, free: 9.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.1778, allocations: 121.9 kB / 0.5502 GB, free: 9.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.1783, allocations: 205.9 kB / 0.5504 GB, free: 8.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1783, allocations: 0 / 0.5504 GB, free: 8.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006759/0.179, allocations: 276.3 kB / 0.5506 GB, free: 8.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.1791, allocations: 11.94 kB / 0.5506 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1791, allocations: 0 / 0.5506 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.1793, allocations: 53.88 kB / 0.5507 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1795, allocations: 51.91 kB / 0.5508 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.1819, allocations: 2.836 MB / 0.5535 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1821, allocations: 35.94 kB / 0.5536 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1821, allocations: 8 kB / 0.5536 GB, free: 5.316 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.1822, allocations: 137.8 kB / 0.5537 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.1823, allocations: 11.95 kB / 0.5537 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006614/0.183, allocations: 272.1 kB / 0.554 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.183, allocations: 0 / 0.554 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.183, allocations: 4 kB / 0.554 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.183, allocations: 7.922 kB / 0.554 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1842, allocations: 0.6526 MB / 0.5546 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1842, allocations: 3.938 kB / 0.5546 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1844, allocations: 35.97 kB / 0.5547 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.1845, allocations: 53.8 kB / 0.5547 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1845, allocations: 4 kB / 0.5547 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.187, allocations: 2.836 MB / 0.5575 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.187, allocations: 4.062 kB / 0.5575 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.188, allocations: 0.5218 MB / 0.558 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.188, allocations: 92.94 kB / 0.5581 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1881, allocations: 4 kB / 0.5581 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1883, allocations: 11.98 kB / 0.5581 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.1883, allocations: 27.91 kB / 0.5581 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1884, allocations: 12.06 kB / 0.5581 GB, free: 216 kB / 414.1 MB Notification: Performance of sorting global known variables: time 8.157e-05/0.1885, allocations: 105 kB / 0.5582 GB, free: 112 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1885, allocations: 0 / 0.5582 GB, free: 112 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.000451/0.1889, allocations: 79.77 kB / 0.5583 GB, free: 32 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.1892, allocations: 123.2 kB / 0.5584 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.19, allocations: 421 kB / 0.5588 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.19, allocations: 384 / 0.5588 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.1905, allocations: 325.3 kB / 0.5591 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.1909, allocations: 21.47 kB / 0.5592 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.1918, allocations: 473.9 kB / 0.5596 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1922, allocations: 0.7361 MB / 0.5603 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.1923, allocations: 17.42 kB / 0.5603 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1924, allocations: 19.38 kB / 0.5604 GB, free: 13.81 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1924, allocations: 0 / 0.5604 GB, free: 13.81 MB / 430.1 MB Notification: Performance of Templates: time 0.006479/0.1989, allocations: 2.361 MB / 0.5627 GB, free: 11.45 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.069769272580743]