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.001361/0.001361, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001693/0.001693, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.046/1.046, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2582/0.2582, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 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 1.322e-06/1.322e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.017e-05, allocations: 5.828 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002006/0.002027, allocations: 1.762 MB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.002172, allocations: 99.64 kB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.002213, allocations: 4 kB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.782e-05/0.00226, allocations: 7.875 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.002318, allocations: 23.78 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.072e-05/0.002408, allocations: 23.97 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.002513, allocations: 119.5 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.002639, allocations: 35.89 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.002723, allocations: 67.88 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.002789, allocations: 35.89 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.002817, allocations: 12 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.002834, allocations: 8 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.002864, allocations: 27.91 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.002909, allocations: 35.92 kB / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.003026, allocations: 79.72 kB / 380.3 MB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003027, allocations: 3.938 kB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003028, allocations: 0 / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003032, allocations: 0 / 380.3 MB, free: 304 kB / 346.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.0004128/0.003445, allocations: 440.2 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.003479, allocations: 12.03 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.003518, allocations: 16.89 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.003599, allocations: 120.5 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.003613, allocations: 8.375 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.003629, allocations: 16.31 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.003802, allocations: 105.8 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.003811, allocations: 192 / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.003823, allocations: 4.375 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.003831, allocations: 4.375 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.003896, allocations: 35.91 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.004386, allocations: 434.5 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.004482, allocations: 54.98 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.004563, allocations: 31.8 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.004573, allocations: 4 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.004592, allocations: 33.39 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.004593, allocations: 4 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000302/0.004895, allocations: 105.2 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.004918, allocations: 51.41 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.004994, allocations: 169.9 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.005004, allocations: 25.7 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.005063, allocations: 170.6 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.005075, allocations: 23.73 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.005106, allocations: 23.38 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.005208, allocations: 0.4923 MB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.005229, allocations: 4 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.005265, allocations: 39.05 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.005319, allocations: 47 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005321, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.005431, allocations: 93.5 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.005442, allocations: 4 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.005448, allocations: 4 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.005579, allocations: 31.67 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.005643, allocations: 16 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007364/0.00638, allocations: 1.756 MB / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.006413, allocations: 7.938 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.00642, allocations: 4 kB / 384.7 MB, free: 11.57 MB / 362.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.458e-05/0.006484, allocations: 160.6 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.006502, allocations: 7.953 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.054e-05/0.006513, allocations: 16.42 kB / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-07/0.006513, allocations: 0 / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.006515, allocations: 0 / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006519, allocations: 3.938 kB / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.006772, allocations: 348.8 kB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.006775, allocations: 3.938 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.006803, allocations: 11.98 kB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.205e-05/0.006865, allocations: 35.64 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.006871, allocations: 0 / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000615/0.007486, allocations: 1.756 MB / 387 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007487, allocations: 0 / 387 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.007647, allocations: 239.2 kB / 387.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.007653, allocations: 4 kB / 387.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-06/0.007658, allocations: 0 / 387.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.007703, allocations: 15.92 kB / 387.3 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.007747, allocations: 15.95 kB / 387.3 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.007751, allocations: 4 kB / 387.3 MB, free: 8.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.007792, allocations: 131.2 kB / 387.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007792, allocations: 0 / 387.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.007964, allocations: 27.83 kB / 387.5 MB, free: 8.594 MB / 362.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 6.635e-05/0.00803, allocations: 99.23 kB / 387.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.008242, allocations: 209.4 kB / 387.8 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008244, allocations: 128 / 387.8 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/0.008325, allocations: 197.5 kB / 387.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.008507, allocations: 11.09 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.008814, allocations: 225.7 kB / 388.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.00885, allocations: 63.34 kB / 388.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.199e-05/0.008872, allocations: 12.05 kB / 388.3 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.008896, allocations: 8.5 kB / 388.3 MB, free: 7.684 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008897, allocations: 0 / 388.3 MB, free: 7.684 MB / 362.7 MB Notification: Performance of Templates: time 0.002649/0.01155, allocations: 1.171 MB / 389.4 MB, free: 6.523 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] 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","",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.3241378758102655]