Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001534/0.001534, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001502/0.001502, allocations: 213 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 46.95 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.91 kB / 0.4966 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3908, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004399/0.3952, allocations: 2.352 MB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3972, allocations: 1.02 MB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3973, allocations: 4 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.3987, allocations: 474 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.399, allocations: 111.2 kB / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009842/0.4, allocations: 445.9 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.4003, allocations: 227 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004613/0.4008, allocations: 234.1 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.401, allocations: 107.6 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.4011, allocations: 107.5 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.4012, allocations: 20 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.4015, allocations: 151.9 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.4015, allocations: 43.8 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4016, allocations: 99.52 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.4022, allocations: 397.4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4022, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4022, allocations: 3.938 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4022, allocations: 0 / 0.5667 GB, free: 14.41 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.001349/0.4036, allocations: 0.5521 MB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4036, allocations: 12.03 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.4039, allocations: 48.77 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4041, allocations: 138.2 kB / 0.5674 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4041, allocations: 20.86 kB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.4042, allocations: 24.38 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.4048, allocations: 290.9 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4048, allocations: 8 kB / 0.5677 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.4048, allocations: 4 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4048, allocations: 8 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.4054, allocations: 229.5 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.4069, allocations: 0.8252 MB / 0.5688 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.4074, allocations: 197.1 kB / 0.569 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.4078, allocations: 135.8 kB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.4079, allocations: 15.98 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4079, allocations: 38.56 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.4079, allocations: 0 / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001145/0.4091, allocations: 347.3 kB / 0.5695 GB, free: 11.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.4091, allocations: 88.98 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4092, allocations: 125.8 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4093, allocations: 29.7 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.4094, allocations: 148.2 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.4094, allocations: 71.42 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.4095, allocations: 37.7 kB / 0.5699 GB, free: 10.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4096, allocations: 327 kB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.4099, allocations: 67.95 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.4101, allocations: 119.6 kB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.4106, allocations: 201.8 kB / 0.5706 GB, free: 10.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4106, allocations: 4 kB / 0.5706 GB, free: 10.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006215/0.4112, allocations: 282.9 kB / 0.5709 GB, free: 9.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4112, allocations: 4 kB / 0.5709 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4112, allocations: 4 kB / 0.5709 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.4114, allocations: 49.67 kB / 0.571 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.4116, allocations: 43.91 kB / 0.571 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.4138, allocations: 2.592 MB / 0.5735 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4139, allocations: 27.91 kB / 0.5736 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.4139, allocations: 8 kB / 0.5736 GB, free: 6.867 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.0001485/0.4141, allocations: 140.9 kB / 0.5737 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.4141, allocations: 19.84 kB / 0.5737 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.4148, allocations: 262.5 kB / 0.574 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4148, allocations: 3.938 kB / 0.574 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4148, allocations: 4 kB / 0.574 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4148, allocations: 0 / 0.574 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4159, allocations: 0.5512 MB / 0.5745 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4159, allocations: 4.094 kB / 0.5745 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.416, allocations: 39.86 kB / 0.5746 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.4162, allocations: 49.69 kB / 0.5746 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.4162, allocations: 4 kB / 0.5746 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.4182, allocations: 2.599 MB / 0.5771 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4182, allocations: 0 / 0.5771 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.4192, allocations: 0.5202 MB / 0.5777 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.4192, allocations: 15.89 kB / 0.5777 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.4192, allocations: 0 / 0.5777 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.4194, allocations: 15.98 kB / 0.5777 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.4195, allocations: 23.95 kB / 0.5777 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4195, allocations: 8 kB / 0.5777 GB, free: 2.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.4195, allocations: 95.27 kB / 0.5778 GB, free: 2.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4196, allocations: 4 kB / 0.5778 GB, free: 2.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.42, allocations: 75.78 kB / 0.5779 GB, free: 2.145 MB / 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.0002156/0.4202, allocations: 123.2 kB / 0.578 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000776/0.421, allocations: 413 kB / 0.5784 GB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.421, allocations: 0 / 0.5784 GB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.4214, allocations: 321.7 kB / 0.5787 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.4219, allocations: 24 kB / 0.5787 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.4228, allocations: 482.1 kB / 0.5792 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.4229, allocations: 125.2 kB / 0.5793 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.423, allocations: 17.08 kB / 0.5793 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.423, allocations: 11.44 kB / 0.5793 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.423, allocations: 0 / 0.5793 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of Templates: time 0.006807/0.4298, allocations: 2.561 MB / 0.5818 GB, free: 14 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.613198420032859]