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.001198/0.001198, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00139/0.00139, allocations: 165 kB / 24.56 MB, free: 12 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.131/1.131, allocations: 177.1 MB / 205 MB, free: 5.609 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.3321/0.3321, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 179] 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.314e-06/2.314e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.068e-05, allocations: 10.25 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003497/0.003538, allocations: 1.778 MB / 377.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.003775, allocations: 83.72 kB / 377.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.003844, allocations: 4 kB / 377.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.585e-05/0.003919, allocations: 15.8 kB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.355e-05/0.004013, allocations: 27.73 kB / 377.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.004159, allocations: 27.95 kB / 377.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.004912, allocations: 111.6 kB / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.005106, allocations: 35.89 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.005217, allocations: 67.86 kB / 378.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.005296, allocations: 35.91 kB / 378.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.005324, allocations: 8 kB / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.005337, allocations: 12 kB / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.005366, allocations: 27.91 kB / 378.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.005412, allocations: 39.91 kB / 378.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.005579, allocations: 75.73 kB / 378.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.005585, allocations: 4 kB / 378.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.005589, allocations: 0 / 378.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.005597, allocations: 0 / 378.3 MB, free: 2.312 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.0004585/0.006056, allocations: 436.2 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.006099, allocations: 12.03 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.006145, allocations: 12.89 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.006253, allocations: 128.4 kB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.006268, allocations: 4.375 kB / 378.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.006286, allocations: 16.38 kB / 378.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.006487, allocations: 109.8 kB / 379 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.006497, allocations: 192 / 379 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.006515, allocations: 12.34 kB / 379 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.006524, allocations: 8.312 kB / 379 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.006592, allocations: 31.92 kB / 379.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.007212, allocations: 426.6 kB / 379.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.007328, allocations: 55.05 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.007425, allocations: 31.8 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.007436, allocations: 4 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.007464, allocations: 41.33 kB / 379.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 7.42e-07/0.007465, allocations: 0 / 379.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003546/0.007819, allocations: 101.3 kB / 379.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.007855, allocations: 51.41 kB / 379.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.007954, allocations: 181.9 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.007967, allocations: 29.64 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.008043, allocations: 154.7 kB / 380.1 MB, free: 320 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.008058, allocations: 23.8 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.008103, allocations: 27.36 kB / 380.2 MB, free: 260 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.008237, allocations: 0.4884 MB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.00826, allocations: 4 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.0083, allocations: 35.05 kB / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/0.008359, allocations: 47 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008361, allocations: 4 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001263/0.008487, allocations: 93.19 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.008501, allocations: 4 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.008506, allocations: 0 / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.008669, allocations: 27.67 kB / 380.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.008731, allocations: 15.98 kB / 380.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008735/0.009605, allocations: 1.764 MB / 382.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.009639, allocations: 11.94 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.009647, allocations: 7.984 kB / 382.7 MB, free: 13.58 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.094e-05/0.009728, allocations: 156.5 kB / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.009745, allocations: 11.95 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.248e-05/0.009758, allocations: 12.44 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.009759, allocations: 0 / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.009761, allocations: 0 / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.009765, allocations: 3.938 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.01004, allocations: 352.8 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01004, allocations: 3.938 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.01007, allocations: 12 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/0.01013, allocations: 23.67 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.01014, allocations: 0 / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006921/0.01083, allocations: 1.748 MB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01084, allocations: 8.047 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.011, allocations: 239.1 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.01101, allocations: 4 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.01102, allocations: 8.109 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.272e-05/0.01106, allocations: 11.94 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.01111, allocations: 7.984 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.01111, allocations: 4 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.01115, allocations: 135.1 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01115, allocations: 4 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.01133, allocations: 31.83 kB / 385.4 MB, free: 10.61 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.0001054/0.01143, allocations: 95.25 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.01173, allocations: 205.5 kB / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01173, allocations: 0 / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.01183, allocations: 201.4 kB / 385.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01205, allocations: 10.41 kB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.01248, allocations: 225.3 kB / 386.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.01254, allocations: 67.28 kB / 386.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.01256, allocations: 0 / 386.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.0126, allocations: 12.5 kB / 386.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0126, allocations: 0 / 386.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of Templates: time 0.003389/0.01598, allocations: 1.252 MB / 387.5 MB, free: 8.465 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.4502856112085283]