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.001608/0.001608, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001753/0.001753, allocations: 211 kB / 23.73 MB, free: 4.387 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2325/0.2325, allocations: 46.95 MB / 360.9 MB, free: 4.16 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.00206/0.00206, allocations: 71.89 kB / 0.4966 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 66.03 MB / 0.5611 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003385/0.3601, allocations: 1.706 MB / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000185/0.3603, allocations: 87.67 kB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.3604, allocations: 0 / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.787e-05/0.3604, allocations: 15.86 kB / 0.5628 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.3605, allocations: 23.77 kB / 0.5628 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.3606, allocations: 27.97 kB / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.3608, allocations: 107.6 kB / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.361, allocations: 39.97 kB / 0.563 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.361, allocations: 47.84 kB / 0.5631 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.3611, allocations: 47.75 kB / 0.5631 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3611, allocations: 12 kB / 0.5631 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.962e-05/0.3612, allocations: 8 kB / 0.5631 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.3612, allocations: 19.98 kB / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.3612, allocations: 43.8 kB / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.3615, allocations: 117.9 kB / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3615, allocations: 0 / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3615, allocations: 0 / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3615, allocations: 0 / 0.5633 GB, free: 1.918 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.0006814/0.3622, allocations: 349.9 kB / 0.5636 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3623, allocations: 8.031 kB / 0.5636 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.3623, allocations: 16.89 kB / 0.5636 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3624, allocations: 122.4 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3625, allocations: 4.375 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3625, allocations: 12.38 kB / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.3629, allocations: 123.8 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3629, allocations: 192 / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3629, allocations: 3.938 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3629, allocations: 4 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.3633, allocations: 111.7 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.3641, allocations: 395.1 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.3643, allocations: 78.53 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3646, allocations: 60.92 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.3646, allocations: 4 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3646, allocations: 34.5 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3646, allocations: 3.938 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008108/0.3654, allocations: 190.3 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3655, allocations: 55.41 kB / 0.5648 GB, free: 236 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3656, allocations: 117.8 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3656, allocations: 33.64 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.3657, allocations: 104 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.3657, allocations: 23.8 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.3658, allocations: 21.7 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3659, allocations: 314.8 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.3661, allocations: 40.2 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.3663, allocations: 58.53 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.3667, allocations: 98.45 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3667, allocations: 4 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004154/0.3671, allocations: 142.3 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3671, allocations: 11.98 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3671, allocations: 0 / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.3673, allocations: 20.86 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3674, allocations: 23.97 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.3686, allocations: 1.272 MB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3687, allocations: 16.14 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3687, allocations: 0 / 0.567 GB, free: 13.77 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.0001092/0.3689, allocations: 121.8 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3689, allocations: 7.938 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.3689, allocations: 16.31 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3689, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3689, allocations: 3.938 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3689, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.3696, allocations: 363.8 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3696, allocations: 4 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.3697, allocations: 15.98 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.707e-05/0.3697, allocations: 20.84 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.3698, allocations: 4 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.3709, allocations: 1.272 MB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3709, allocations: 0 / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.3714, allocations: 249 kB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.3714, allocations: 11.89 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.3714, allocations: 384 / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3715, allocations: 11.98 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3716, allocations: 16.05 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3716, allocations: 0 / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.834e-05/0.3716, allocations: 95.2 kB / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3716, allocations: 0 / 0.5692 GB, free: 11.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3719, allocations: 27.94 kB / 0.5692 GB, free: 11.38 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.0001094/0.372, allocations: 91.25 kB / 0.5693 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.3726, allocations: 206.5 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3726, allocations: 0 / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.3728, allocations: 166.5 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3731, allocations: 7.938 kB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.3736, allocations: 221.8 kB / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.382e-05/0.3737, allocations: 85.31 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.3738, allocations: 3.75 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.3738, allocations: 11.44 kB / 0.5699 GB, free: 10.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3738, allocations: 0 / 0.5699 GB, free: 10.51 MB / 414.1 MB Notification: Performance of Templates: time 0.004402/0.3782, allocations: 1.225 MB / 0.5711 GB, free: 9.301 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.301661970093846]