Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 83.88 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3419, allocations: 66.09 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005116/0.347, allocations: 3.24 MB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.3487, allocations: 0.8023 MB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.349, allocations: 15.94 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3492, allocations: 71.3 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.3495, allocations: 126.8 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.3499, allocations: 135.8 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.3504, allocations: 0.518 MB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.3507, allocations: 170 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.351, allocations: 215.2 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.3512, allocations: 203 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.3513, allocations: 52 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.143e-05/0.3514, allocations: 48 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.3515, allocations: 107.6 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.3517, allocations: 215.1 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.3523, allocations: 0.555 MB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3523, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3523, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.3523, allocations: 0 / 0.5682 GB, free: 13.5 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.001313/0.3536, allocations: 0.7 MB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3536, allocations: 12.03 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3537, allocations: 52.61 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.3542, allocations: 263.7 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.3543, allocations: 37.38 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.3543, allocations: 40.38 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.3552, allocations: 0.5145 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3552, allocations: 0 / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.3552, allocations: 23.94 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3553, allocations: 12 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007027/0.356, allocations: 320.2 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.3583, allocations: 1.448 MB / 0.5715 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.3589, allocations: 224.9 kB / 0.5717 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.3592, allocations: 129.6 kB / 0.5719 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3592, allocations: 4 kB / 0.5719 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3592, allocations: 38.56 kB / 0.5719 GB, free: 9.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.3592, allocations: 0 / 0.5719 GB, free: 9.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002897/0.3621, allocations: 1.134 MB / 0.573 GB, free: 8.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3622, allocations: 81.11 kB / 0.5731 GB, free: 8.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3625, allocations: 261.7 kB / 0.5733 GB, free: 7.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3625, allocations: 37.7 kB / 0.5734 GB, free: 7.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.3627, allocations: 264 kB / 0.5736 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/0.3628, allocations: 130.9 kB / 0.5737 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3629, allocations: 74.12 kB / 0.5738 GB, free: 7.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.363, allocations: 338.8 kB / 0.5741 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.3633, allocations: 104.8 kB / 0.5742 GB, free: 6.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.3637, allocations: 212.4 kB / 0.5744 GB, free: 6.723 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.3643, allocations: 342.1 kB / 0.5748 GB, free: 6.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3643, allocations: 0 / 0.5748 GB, free: 6.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008531/0.3651, allocations: 413.9 kB / 0.5752 GB, free: 5.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3652, allocations: 8 kB / 0.5752 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3652, allocations: 8 kB / 0.5752 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.3653, allocations: 32.83 kB / 0.5752 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.3658, allocations: 124.2 kB / 0.5753 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3669, allocations: 1.315 MB / 0.5766 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.3672, allocations: 19.98 kB / 0.5766 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3672, allocations: 16 kB / 0.5766 GB, free: 4.297 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.0002002/0.3674, allocations: 169.3 kB / 0.5768 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.3675, allocations: 35.75 kB / 0.5768 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.787e-05/0.3676, allocations: 38.11 kB / 0.5769 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3676, allocations: 4 kB / 0.5769 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3676, allocations: 4 kB / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3676, allocations: 0 / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3686, allocations: 0.5823 MB / 0.5775 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3686, allocations: 4.062 kB / 0.5775 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.369, allocations: 91.86 kB / 0.5775 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.3691, allocations: 28.84 kB / 0.5776 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3691, allocations: 8 kB / 0.5776 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009996/0.3701, allocations: 1.3 MB / 0.5788 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3701, allocations: 8.094 kB / 0.5789 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3711, allocations: 0.6106 MB / 0.5795 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3712, allocations: 43.83 kB / 0.5795 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3713, allocations: 12 kB / 0.5795 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.3716, allocations: 23.92 kB / 0.5795 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.3716, allocations: 27.89 kB / 0.5796 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3716, allocations: 8 kB / 0.5796 GB, free: 1.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.3718, allocations: 181.2 kB / 0.5797 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3718, allocations: 0 / 0.5797 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004653/0.3723, allocations: 95.94 kB / 0.5798 GB, free: 0.8555 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.0001268/0.3724, allocations: 107.2 kB / 0.5799 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008511/0.3733, allocations: 390.3 kB / 0.5803 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3733, allocations: 0 / 0.5803 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.3737, allocations: 251.2 kB / 0.5805 GB, free: 92 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.3741, allocations: 43.23 kB / 0.5806 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.3758, allocations: 0.941 MB / 0.5815 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.376, allocations: 207.8 kB / 0.5817 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.3761, allocations: 31.44 kB / 0.5817 GB, free: 14.81 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3761, allocations: 4 kB / 0.5817 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Templates: time 0.008874/0.385, allocations: 6.128 MB / 0.5877 GB, free: 8.684 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 8.243374982848763]