Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00105/0.00105, allocations: 75.69 kB / 21.69 MB, free: 2.871 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.001378/0.001378, allocations: 164.2 kB / 24.99 MB, free: 8.906 MB / 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2602/0.2602, allocations: 32.81 MB / 294.6 MB, free: 1.297 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 376 MB, free: 5.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.615e-05, allocations: 9.203 kB / 376 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002161/0.002187, allocations: 1.778 MB / 377.7 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001632/0.00235, allocations: 83.67 kB / 377.8 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.002398, allocations: 4 kB / 377.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.002444, allocations: 11.86 kB / 377.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.002512, allocations: 27.77 kB / 377.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.476e-05/0.002607, allocations: 27.97 kB / 377.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.002719, allocations: 107.5 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.002857, allocations: 43.88 kB / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.057e-05/0.002937, allocations: 63.88 kB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.003001, allocations: 39.89 kB / 378.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.003027, allocations: 15.94 kB / 378.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.003038, allocations: 8 kB / 378.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.003062, allocations: 23.92 kB / 378.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.0031, allocations: 43.89 kB / 378.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003223, allocations: 75.73 kB / 378.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003225, allocations: 0 / 378.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003226, allocations: 0 / 378.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.003231, allocations: 4 kB / 378.3 MB, free: 2.676 MB / 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.0004381/0.003669, allocations: 436.2 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003704, allocations: 12.03 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.003747, allocations: 12.89 kB / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.541e-05/0.003843, allocations: 124.5 kB / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.003857, allocations: 4.375 kB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.003871, allocations: 12.38 kB / 378.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.004055, allocations: 106.8 kB / 379 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004062, allocations: 4.188 kB / 379 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.004077, allocations: 12.36 kB / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.004085, allocations: 384 / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.004151, allocations: 34.16 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.004657, allocations: 426.6 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.004753, allocations: 54.98 kB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.004838, allocations: 31.8 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.004849, allocations: 12 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.004869, allocations: 37.38 kB / 379.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.004871, allocations: 0 / 379.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003066/0.005177, allocations: 101.2 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.005201, allocations: 51.41 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.005281, allocations: 173.9 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.005292, allocations: 25.7 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.005349, allocations: 158.7 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.005362, allocations: 23.8 kB / 380.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.005465, allocations: 31.36 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.005565, allocations: 496.1 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.005589, allocations: 7.984 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.005623, allocations: 35.05 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.005677, allocations: 47 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005679, allocations: 7.938 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001381/0.005817, allocations: 97.12 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.005831, allocations: 10.09 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.005837, allocations: 4 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.005976, allocations: 19.98 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.006038, allocations: 15.98 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007741/0.006812, allocations: 1.759 MB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.006847, allocations: 15.92 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.006854, allocations: 4 kB / 382.7 MB, free: 13.95 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.791e-05/0.006922, allocations: 156.6 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.006938, allocations: 11.95 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.00695, allocations: 12.44 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.006951, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.006954, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006958, allocations: 3.938 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.007483, allocations: 352.8 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.007485, allocations: 3.938 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.007514, allocations: 15.97 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.989e-05/0.007574, allocations: 23.67 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.007581, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006203/0.008201, allocations: 1.756 MB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.008203, allocations: 4.062 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.008344, allocations: 239.1 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-06/0.008349, allocations: 0 / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.008356, allocations: 12.02 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.008399, allocations: 11.94 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.008437, allocations: 3.984 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.008441, allocations: 8 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.00848, allocations: 131.2 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008481, allocations: 0 / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.008747, allocations: 27.89 kB / 385.4 MB, free: 10.98 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 0.0001107/0.008858, allocations: 95.25 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.009161, allocations: 209.4 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.009167, allocations: 4 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.009273, allocations: 193.5 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.00947, allocations: 15.94 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.009811, allocations: 214 kB / 386.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.009851, allocations: 67.34 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.26e-05/0.009874, allocations: 4 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.009899, allocations: 8.5 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0099, allocations: 0 / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003064/0.01296, allocations: 1.196 MB / 387.4 MB, free: 8.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2657309158239514]