Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 104.3 kB / 19.7 MB, free: 1.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 214.2 kB / 22.98 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 207.7 MB / 233.8 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2522/0.2522, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 67.91 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1581, allocations: 61.04 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00473/0.1628, allocations: 2.264 MB / 0.5188 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1646, allocations: 0.772 MB / 0.5196 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.1649, allocations: 7.938 kB / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1653, allocations: 51.58 kB / 0.5197 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.1657, allocations: 99.23 kB / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1661, allocations: 103.8 kB / 0.5198 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.1667, allocations: 346.8 kB / 0.5202 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.167, allocations: 64.83 kB / 0.5202 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.1674, allocations: 139.5 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1677, allocations: 131.4 kB / 0.5205 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.1678, allocations: 32 kB / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.1678, allocations: 31.94 kB / 0.5206 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.1679, allocations: 63.81 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1681, allocations: 123.4 kB / 0.5207 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.1686, allocations: 370.5 kB / 0.5211 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1686, allocations: 0 / 0.5211 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1686, allocations: 0 / 0.5211 GB, free: 2.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1686, allocations: 0 / 0.5211 GB, free: 2.082 MB / 398.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.001188/0.1698, allocations: 0.5441 MB / 0.5216 GB, free: 1.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1699, allocations: 8.031 kB / 0.5216 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.1699, allocations: 32.75 kB / 0.5217 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.1704, allocations: 202 kB / 0.5219 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.1704, allocations: 28.75 kB / 0.5219 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.1705, allocations: 24.38 kB / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.171, allocations: 252.3 kB / 0.5221 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.171, allocations: 0 / 0.5221 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.171, allocations: 8 kB / 0.5221 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.171, allocations: 4 kB / 0.5222 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.1715, allocations: 229.9 kB / 0.5224 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.173, allocations: 0.7345 MB / 0.5231 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.1735, allocations: 278.5 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.1738, allocations: 128.8 kB / 0.5235 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1739, allocations: 4 kB / 0.5235 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.1739, allocations: 38.56 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.1739, allocations: 0 / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004329/0.1783, allocations: 0.9605 MB / 0.5245 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1783, allocations: 55.41 kB / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.1786, allocations: 221.4 kB / 0.5247 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1786, allocations: 29.7 kB / 0.5247 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1787, allocations: 160.7 kB / 0.5249 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-05/0.1788, allocations: 107.1 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1789, allocations: 53.56 kB / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1791, allocations: 338.8 kB / 0.5254 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.1794, allocations: 87.95 kB / 0.5255 GB, free: 13.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.1796, allocations: 125.8 kB / 0.5256 GB, free: 13.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.1801, allocations: 227.3 kB / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1801, allocations: 4 kB / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001779/0.1819, allocations: 0.5442 MB / 0.5263 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1819, allocations: 8 kB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1819, allocations: 0 / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.1836, allocations: 307.1 kB / 0.5266 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.1837, allocations: 31.91 kB / 0.5267 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.1917, allocations: 6.273 MB / 0.5328 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1919, allocations: 31.77 kB / 0.5328 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.192, allocations: 8 kB / 0.5328 GB, free: 5.402 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.1922, allocations: 137.9 kB / 0.533 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.1922, allocations: 24.05 kB / 0.533 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.194, allocations: 0.5539 MB / 0.5335 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.194, allocations: 4 kB / 0.5335 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.194, allocations: 8 kB / 0.5335 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1941, allocations: 3.938 kB / 0.5335 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1945, allocations: 245.1 kB / 0.5338 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.1945, allocations: 3.938 kB / 0.5338 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1946, allocations: 15.98 kB / 0.5338 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/0.1965, allocations: 311.1 kB / 0.5341 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1965, allocations: 8 kB / 0.5341 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3168/0.5133, allocations: 6.333 MB / 0.5403 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5133, allocations: 0 / 0.5403 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.5151, allocations: 0.616 MB / 0.5409 GB, free: 25.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.5152, allocations: 27.73 kB / 0.5409 GB, free: 25.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.5152, allocations: 9.203 kB / 0.5409 GB, free: 25.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.5154, allocations: 10.45 kB / 0.5409 GB, free: 25.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.5156, allocations: 33.72 kB / 0.541 GB, free: 25.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.5156, allocations: 10.75 kB / 0.541 GB, free: 25.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.5158, allocations: 156.8 kB / 0.5411 GB, free: 25.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5158, allocations: 0 / 0.5411 GB, free: 25.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005871/0.5164, allocations: 118 kB / 0.5412 GB, free: 25.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.5165, allocations: 101.4 kB / 0.5413 GB, free: 25.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.5175, allocations: 0.7422 MB / 0.5421 GB, free: 25.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5175, allocations: 3.125 kB / 0.5421 GB, free: 25.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.5188, allocations: 0.7251 MB / 0.5428 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.5191, allocations: 26.98 kB / 0.5428 GB, free: 24.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5202, allocations: 0.5355 MB / 0.5433 GB, free: 24.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.5204, allocations: 164.7 kB / 0.5435 GB, free: 24.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.512e-05/0.5205, allocations: 11.06 kB / 0.5435 GB, free: 24.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.5205, allocations: 15.12 kB / 0.5435 GB, free: 24.29 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5205, allocations: 0 / 0.5435 GB, free: 24.29 MB / 414.1 MB Notification: Performance of Templates: time 0.02745/0.5479, allocations: 8.67 MB / 0.552 GB, free: 23.45 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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: 6.401151068508625]