Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001523/0.001523, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001677/0.001677, allocations: 198 kB / 23.72 MB, free: 4.492 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.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 44.95 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002131/0.002131, allocations: 63.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 65.47 MB / 0.5574 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00337/0.3745, allocations: 1.691 MB / 0.5591 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002113/0.3747, allocations: 91.69 kB / 0.5592 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.3747, allocations: 3.938 kB / 0.5592 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.3748, allocations: 19.86 kB / 0.5592 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.692e-05/0.3749, allocations: 23.73 kB / 0.5592 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.375, allocations: 23.95 kB / 0.5592 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3752, allocations: 107.6 kB / 0.5593 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.3754, allocations: 37.69 kB / 0.5594 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.3754, allocations: 47.91 kB / 0.5594 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.3755, allocations: 43.77 kB / 0.5595 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3755, allocations: 12 kB / 0.5595 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.3756, allocations: 8 kB / 0.5595 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.3756, allocations: 27.86 kB / 0.5595 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.3757, allocations: 43.8 kB / 0.5596 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3759, allocations: 121.9 kB / 0.5597 GB, free: 5.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3759, allocations: 0 / 0.5597 GB, free: 5.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3759, allocations: 4 kB / 0.5597 GB, free: 5.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3759, allocations: 0 / 0.5597 GB, free: 5.172 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.0007385/0.3766, allocations: 345.9 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3767, allocations: 12.03 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.3767, allocations: 8.891 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3768, allocations: 122.3 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3768, allocations: 8.375 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.3769, allocations: 12.38 kB / 0.5602 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.3772, allocations: 123.8 kB / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3772, allocations: 192 / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3773, allocations: 7.938 kB / 0.5603 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3773, allocations: 4 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.3776, allocations: 107.8 kB / 0.5604 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.3785, allocations: 391.1 kB / 0.5608 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.3788, allocations: 78.47 kB / 0.5608 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.379, allocations: 64.94 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.379, allocations: 0 / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3791, allocations: 30.56 kB / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3791, allocations: 0 / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008494/0.3799, allocations: 198.2 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.38, allocations: 55.41 kB / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3801, allocations: 113.8 kB / 0.5613 GB, free: 3.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3801, allocations: 29.7 kB / 0.5613 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.3802, allocations: 108 kB / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3802, allocations: 19.8 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.3803, allocations: 17.72 kB / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3804, allocations: 322.8 kB / 0.5618 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3806, allocations: 31.97 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3807, allocations: 58.53 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.3811, allocations: 102.4 kB / 0.5619 GB, free: 2.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3811, allocations: 0 / 0.5619 GB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004268/0.3815, allocations: 150.3 kB / 0.5621 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3815, allocations: 10.59 kB / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3815, allocations: 0 / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.3817, allocations: 28.78 kB / 0.5621 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3819, allocations: 19.97 kB / 0.5621 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.3831, allocations: 1.28 MB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3832, allocations: 16.83 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3832, allocations: 4 kB / 0.5634 GB, free: 1.027 MB / 398.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.0001108/0.3834, allocations: 113.8 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.3834, allocations: 7.953 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.3834, allocations: 16.25 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.3834, allocations: 7.984 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3834, allocations: 0 / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3834, allocations: 0 / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.3841, allocations: 363.7 kB / 0.5639 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3841, allocations: 3.984 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.3842, allocations: 15.98 kB / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.791e-05/0.3842, allocations: 24.84 kB / 0.5639 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3842, allocations: 3.938 kB / 0.5639 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.3853, allocations: 1.276 MB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3853, allocations: 0 / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.3858, allocations: 233.1 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.3858, allocations: 11.89 kB / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3858, allocations: 7.984 kB / 0.5654 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3859, allocations: 11.98 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.386, allocations: 12.05 kB / 0.5655 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.386, allocations: 3.938 kB / 0.5655 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.386, allocations: 91.27 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.386, allocations: 0 / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3863, allocations: 27.94 kB / 0.5656 GB, free: 14.64 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.0001183/0.3864, allocations: 91.25 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000569/0.387, allocations: 214.7 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.387, allocations: 0 / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.3872, allocations: 162.6 kB / 0.566 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3876, allocations: 11.94 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.3881, allocations: 225.3 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.651e-05/0.3881, allocations: 81.27 kB / 0.5663 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.519e-05/0.3882, allocations: 8.031 kB / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.3882, allocations: 7.438 kB / 0.5663 GB, free: 13.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3882, allocations: 0 / 0.5663 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Templates: time 0.004642/0.3929, allocations: 1.221 MB / 0.5675 GB, free: 12.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.491545926779509]