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.001107/0.001107, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001089/0.001089, allocations: 168.3 kB / 24.82 MB, free: 8.773 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.177/1.177, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.3091/0.3091, allocations: 32.8 MB / 294.6 MB, free: 1.254 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 2.244e-06/2.244e-06, allocations: 0 / 376.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.925e-05, allocations: 2.312 kB / 376.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002441/0.00246, allocations: 1.766 MB / 378.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.002658, allocations: 95.66 kB / 378.3 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.002719, allocations: 7.938 kB / 378.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.495e-05/0.002774, allocations: 11.86 kB / 378.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.002857, allocations: 23.78 kB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.002967, allocations: 23.97 kB / 378.4 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.003103, allocations: 111.6 kB / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.00327, allocations: 35.89 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.003378, allocations: 63.86 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.003445, allocations: 39.91 kB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.003471, allocations: 12 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.003484, allocations: 8 kB / 378.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.003512, allocations: 31.84 kB / 378.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.003549, allocations: 39.91 kB / 378.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.003678, allocations: 75.73 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00368, allocations: 0 / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003681, allocations: 0 / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.003685, allocations: 0 / 378.8 MB, free: 2.113 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.0004476/0.004133, allocations: 444.2 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.004176, allocations: 12.03 kB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.004215, allocations: 16.89 kB / 379.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.198e-05/0.004307, allocations: 120.5 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.00432, allocations: 8.375 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004333, allocations: 8.375 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.004501, allocations: 109.8 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.004511, allocations: 192 / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.004521, allocations: 384 / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.004529, allocations: 4.375 kB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.255e-05/0.004572, allocations: 27.92 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.005063, allocations: 407.2 kB / 379.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.005169, allocations: 54.98 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.005243, allocations: 27.8 kB / 380 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.005255, allocations: 7.938 kB / 380 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.005283, allocations: 33.39 kB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.005284, allocations: 0 / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003309/0.005615, allocations: 113.2 kB / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.005653, allocations: 51.41 kB / 380.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.005751, allocations: 169.9 kB / 380.4 MB, free: 368 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.005763, allocations: 25.7 kB / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.00584, allocations: 154.7 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.872e-05/0.005859, allocations: 31.77 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.005896, allocations: 19.38 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.006105, allocations: 0.4923 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.006125, allocations: 8 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.006164, allocations: 31.06 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/0.006225, allocations: 50.97 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.006228, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001366/0.006364, allocations: 89.14 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.006381, allocations: 8 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.006388, allocations: 0 / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.006531, allocations: 23.73 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.006592, allocations: 16.3 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/0.007473, allocations: 1.733 MB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.007511, allocations: 11.92 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.007517, allocations: 4 kB / 383 MB, free: 13.48 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 8.811e-05/0.007605, allocations: 160.5 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.007622, allocations: 11.98 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.22e-05/0.007634, allocations: 12.44 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.007635, allocations: 144 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.007638, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.007643, allocations: 3.984 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.007916, allocations: 329.3 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.007919, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.007946, allocations: 15.92 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-05/0.008022, allocations: 27.67 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.008026, allocations: 4.031 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007875/0.008814, allocations: 1.725 MB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.008814, allocations: 0 / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.008999, allocations: 243.1 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.009008, allocations: 7.984 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-06/0.009015, allocations: 4 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.009055, allocations: 4 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.009098, allocations: 8.125 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.009101, allocations: 4.031 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.009156, allocations: 135.2 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009156, allocations: 0 / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.009345, allocations: 31.83 kB / 385.8 MB, free: 10.57 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 9.917e-05/0.009444, allocations: 99.23 kB / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.009684, allocations: 205.4 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.009687, allocations: 0 / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.009795, allocations: 197.6 kB / 386.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.01, allocations: 8 kB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.01036, allocations: 228.2 kB / 386.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.01041, allocations: 63.34 kB / 386.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.01043, allocations: 4.062 kB / 386.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.01049, allocations: 74.2 kB / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01049, allocations: 0 / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of Templates: time 0.003133/0.01363, allocations: 1.279 MB / 387.9 MB, free: 8.34 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.459777952171862]