Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001744/0.001744, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00217/0.00217, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2296/0.2296, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005489/0.3172, allocations: 3.224 MB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3193, allocations: 0.7984 MB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.3195, allocations: 8 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.3197, allocations: 75.23 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.3201, allocations: 134.8 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3205, allocations: 135.7 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.3211, allocations: 0.5219 MB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.3213, allocations: 182 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.3216, allocations: 215.3 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.3219, allocations: 239 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.3219, allocations: 48 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.322, allocations: 52 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.405e-05/0.3221, allocations: 103.6 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.3223, allocations: 207 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.3229, allocations: 0.5629 MB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3229, allocations: 0 / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3229, allocations: 0 / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.323, allocations: 0 / 0.5681 GB, free: 13.67 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001397/0.3244, allocations: 0.7 MB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3244, allocations: 12.03 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.3245, allocations: 60.61 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.325, allocations: 259.7 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.325, allocations: 37.31 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.3251, allocations: 44.38 kB / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.326, allocations: 0.5106 MB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.326, allocations: 7.875 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.3261, allocations: 16 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.3261, allocations: 12 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007616/0.3268, allocations: 328.2 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.3293, allocations: 1.448 MB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.3299, allocations: 225 kB / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.3303, allocations: 133.6 kB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3303, allocations: 0 / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3303, allocations: 38.56 kB / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/0.3303, allocations: 0 / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00311/0.3334, allocations: 1.13 MB / 0.573 GB, free: 8.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3335, allocations: 81.11 kB / 0.573 GB, free: 8.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.3338, allocations: 257.8 kB / 0.5733 GB, free: 8.102 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3338, allocations: 33.7 kB / 0.5733 GB, free: 8.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.334, allocations: 268.1 kB / 0.5736 GB, free: 7.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3341, allocations: 134.9 kB / 0.5737 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3343, allocations: 74.12 kB / 0.5738 GB, free: 7.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3344, allocations: 338.8 kB / 0.5741 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.3347, allocations: 104.8 kB / 0.5742 GB, free: 7.141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3351, allocations: 212.3 kB / 0.5744 GB, free: 6.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006938/0.3358, allocations: 349.1 kB / 0.5747 GB, free: 6.516 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3358, allocations: 0 / 0.5747 GB, free: 6.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008948/0.3367, allocations: 418.2 kB / 0.5751 GB, free: 6.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3367, allocations: 6.344 kB / 0.5751 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3367, allocations: 4 kB / 0.5751 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.3369, allocations: 36.81 kB / 0.5752 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.3374, allocations: 119.8 kB / 0.5753 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.3385, allocations: 1.319 MB / 0.5766 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.3388, allocations: 19.98 kB / 0.5766 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.3388, allocations: 16 kB / 0.5766 GB, free: 4.465 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0001884/0.339, allocations: 157.8 kB / 0.5768 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.3391, allocations: 35.75 kB / 0.5768 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.3392, allocations: 38.05 kB / 0.5768 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.3392, allocations: 4 kB / 0.5768 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3392, allocations: 4 kB / 0.5768 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.3392, allocations: 15.92 kB / 0.5768 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3403, allocations: 0.5746 MB / 0.5774 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3403, allocations: 3.984 kB / 0.5774 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.3408, allocations: 95.88 kB / 0.5775 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.655e-05/0.3409, allocations: 28.91 kB / 0.5775 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.3409, allocations: 8 kB / 0.5775 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.3421, allocations: 1.296 MB / 0.5788 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3421, allocations: 3.984 kB / 0.5788 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3433, allocations: 0.6086 MB / 0.5794 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3434, allocations: 43.83 kB / 0.5794 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3434, allocations: 8 kB / 0.5795 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.3437, allocations: 15.98 kB / 0.5795 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3438, allocations: 27.95 kB / 0.5795 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.3438, allocations: 12 kB / 0.5795 GB, free: 1.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.344, allocations: 181.2 kB / 0.5797 GB, free: 1.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 0.5797 GB, free: 1.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004719/0.3445, allocations: 99.94 kB / 0.5798 GB, free: 1.031 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.000142/0.3446, allocations: 107.2 kB / 0.5799 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.3455, allocations: 392.4 kB / 0.5803 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3455, allocations: 4.062 kB / 0.5803 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.346, allocations: 250.3 kB / 0.5805 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3465, allocations: 32.48 kB / 0.5805 GB, free: 236 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3482, allocations: 0.9197 MB / 0.5814 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3484, allocations: 207.8 kB / 0.5816 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.3486, allocations: 30.97 kB / 0.5817 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.3487, allocations: 27.44 kB / 0.5817 GB, free: 14.99 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3487, allocations: 0 / 0.5817 GB, free: 14.99 MB / 430.1 MB Notification: Performance of Templates: time 0.008568/0.3572, allocations: 3.543 MB / 0.5851 GB, free: 11.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.1021334800025215]