Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.001856/0.001856, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001991/0.001991, allocations: 201 kB / 23.73 MB, free: 4.379 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2483/0.2483, allocations: 46.96 MB / 360.9 MB, free: 4.121 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.83 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3703, allocations: 66.04 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00447/0.3747, allocations: 1.687 MB / 0.5627 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.375, allocations: 91.66 kB / 0.5628 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.3751, allocations: 4 kB / 0.5628 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.998e-05/0.3751, allocations: 11.86 kB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3753, allocations: 23.78 kB / 0.5628 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.3754, allocations: 27.97 kB / 0.5629 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3756, allocations: 103.6 kB / 0.563 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.3759, allocations: 51.94 kB / 0.563 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.376, allocations: 39.86 kB / 0.563 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3761, allocations: 51.77 kB / 0.5631 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.3761, allocations: 16 kB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.018e-05/0.3762, allocations: 12 kB / 0.5631 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.3762, allocations: 23.92 kB / 0.5631 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.3763, allocations: 39.86 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3765, allocations: 121.9 kB / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3765, allocations: 0 / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3765, allocations: 0 / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3765, allocations: 0 / 0.5633 GB, free: 1.852 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008949/0.3774, allocations: 353.8 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.3775, allocations: 12.03 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.3775, allocations: 8.891 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3777, allocations: 114.4 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3777, allocations: 8.375 kB / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3778, allocations: 12.36 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.3783, allocations: 123.8 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3783, allocations: 192 / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.3783, allocations: 11.92 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3783, allocations: 4 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.3788, allocations: 107.8 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3799, allocations: 391.1 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.3803, allocations: 82.52 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.3807, allocations: 68.81 kB / 0.5645 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3807, allocations: 0 / 0.5645 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3807, allocations: 30.56 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3807, allocations: 4 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001181/0.3819, allocations: 194.2 kB / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.382, allocations: 51.41 kB / 0.5648 GB, free: 168 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3821, allocations: 113.8 kB / 0.5649 GB, free: 44 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3821, allocations: 25.7 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3822, allocations: 108 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.3823, allocations: 27.78 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.3823, allocations: 17.72 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3825, allocations: 318.8 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.3827, allocations: 35.95 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.383, allocations: 62.52 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.3835, allocations: 106.7 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3835, allocations: 0 / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006533/0.3841, allocations: 146.3 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.3842, allocations: 4 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3842, allocations: 4.062 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/0.3844, allocations: 20.84 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.3846, allocations: 23.92 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.3862, allocations: 1.268 MB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3863, allocations: 16 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3864, allocations: 8 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.3865, allocations: 121.8 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.3866, allocations: 7.953 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.3866, allocations: 12.31 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3866, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3866, allocations: 4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3866, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3876, allocations: 364.1 kB / 0.5675 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3877, allocations: 4 kB / 0.5675 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.3878, allocations: 11.98 kB / 0.5675 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.3879, allocations: 24.84 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3879, allocations: 4.062 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.3893, allocations: 1.284 MB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3893, allocations: 0 / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.39, allocations: 245.2 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.39, allocations: 7.891 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.39, allocations: 4 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3902, allocations: 7.984 kB / 0.5691 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.3903, allocations: 11.98 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3903, allocations: 4 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.076e-05/0.3904, allocations: 95.27 kB / 0.5692 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3904, allocations: 0 / 0.5692 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.3909, allocations: 23.94 kB / 0.5692 GB, free: 11.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001366/0.391, allocations: 99.19 kB / 0.5693 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007956/0.3918, allocations: 198.7 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3918, allocations: 4 kB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.3922, allocations: 162.5 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3927, allocations: 11.94 kB / 0.5697 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.3933, allocations: 213.3 kB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.3935, allocations: 85.38 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.3935, allocations: 7.75 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.3935, allocations: 7.438 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3935, allocations: 0 / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Templates: time 0.006193/0.3997, allocations: 1.257 MB / 0.5712 GB, free: 9.207 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.247098888736218]