Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001082/0.001082, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001194/0.001194, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] 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.2897/0.2897, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.412e-05, allocations: 7.047 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002322/0.002347, allocations: 1.817 MB / 327.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.002538, allocations: 95.59 kB / 327.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.002584, allocations: 4 kB / 327.8 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.00263, allocations: 11.86 kB / 327.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.002697, allocations: 23.78 kB / 327.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.156e-05/0.002789, allocations: 23.97 kB / 327.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.002896, allocations: 111.5 kB / 328 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.003022, allocations: 39.95 kB / 328 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.003112, allocations: 71.86 kB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.003183, allocations: 35.91 kB / 328.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.003206, allocations: 12 kB / 328.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.003218, allocations: 8 kB / 328.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.003245, allocations: 23.95 kB / 328.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.003277, allocations: 35.92 kB / 328.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.003408, allocations: 75.73 kB / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.00341, allocations: 0 / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.003411, allocations: 0 / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.003417, allocations: 3.938 kB / 328.3 MB, free: 4.758 MB / 298.7 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.0003457/0.003762, allocations: 314.6 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.003791, allocations: 15.97 kB / 328.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.003821, allocations: 16.92 kB / 328.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.003903, allocations: 113.7 kB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.003915, allocations: 12.38 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.003926, allocations: 8.375 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.004064, allocations: 106.8 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.004072, allocations: 192 / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.004079, allocations: 384 / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.004086, allocations: 8.375 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.004129, allocations: 23.92 kB / 328.9 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.004534, allocations: 306.9 kB / 329.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.281e-05/0.004607, allocations: 38.58 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.00466, allocations: 24.78 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.004671, allocations: 4.125 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.00469, allocations: 34.56 kB / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.004691, allocations: 4 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002414/0.004933, allocations: 98.36 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.004957, allocations: 51.41 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.005015, allocations: 114.7 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.005024, allocations: 25.7 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.005071, allocations: 111.9 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.005083, allocations: 19.78 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.005115, allocations: 25.7 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.00518, allocations: 318.8 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.005194, allocations: 4 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.005218, allocations: 26.56 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.005262, allocations: 42.48 kB / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005263, allocations: 0 / 330.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001065/0.00537, allocations: 74.41 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005382, allocations: 5.094 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005387, allocations: 0 / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.005502, allocations: 32.89 kB / 330.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.00556, allocations: 19.92 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005774/0.006137, allocations: 1.18 MB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.006171, allocations: 7.938 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.006176, allocations: 4 kB / 331.5 MB, free: 1.336 MB / 298.7 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 6.102e-05/0.006237, allocations: 121.8 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.006254, allocations: 4 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.006266, allocations: 12.44 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.006267, allocations: 0 / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.00627, allocations: 0 / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006272, allocations: 0 / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.006487, allocations: 244.3 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.006489, allocations: 144 / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.006516, allocations: 8 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-05/0.006571, allocations: 32.86 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.006575, allocations: 0 / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005234/0.007099, allocations: 1.166 MB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.007101, allocations: 4 kB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.007211, allocations: 173.2 kB / 333.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.007219, allocations: 11.94 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-06/0.007226, allocations: 4 kB / 333.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.007267, allocations: 4 kB / 333.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.007303, allocations: 15.95 kB / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.007305, allocations: 4 kB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.642e-05/0.007322, allocations: 16.84 kB / 333.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007322, allocations: 0 / 333.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.007474, allocations: 23.94 kB / 333.3 MB, free: 15.34 MB / 314.7 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 7.385e-05/0.007548, allocations: 72.42 kB / 333.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.007723, allocations: 163.3 kB / 333.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.007726, allocations: 4.125 kB / 333.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.007792, allocations: 127.5 kB / 333.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.007943, allocations: 9.719 kB / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.008265, allocations: 219.3 kB / 333.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.008301, allocations: 63.34 kB / 333.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.008325, allocations: 12.05 kB / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.008374, allocations: 55.38 kB / 334 MB, free: 14.54 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008375, allocations: 0 / 334 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003273/0.01165, allocations: 1.138 MB / 335.1 MB, free: 13.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0540471859276295]