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.001024/0.001024, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009709/0.0009709, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9165/0.9165, allocations: 177.1 MB / 206 MB, free: 4.5 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.1646/0.1646, allocations: 32.79 MB / 295.4 MB, free: 15.4 MB / 282.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.162e-06/1.162e-06, allocations: 0 / 377.2 MB, free: 25.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.366e-05, allocations: 5.688 kB / 377.2 MB, free: 25.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002042/0.002056, allocations: 1.753 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001515/0.002207, allocations: 95.7 kB / 379.1 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.002257, allocations: 4 kB / 379.1 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.0023, allocations: 11.86 kB / 379.1 MB, free: 23.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.002363, allocations: 23.73 kB / 379.1 MB, free: 23.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.738e-05/0.002451, allocations: 31.95 kB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.002553, allocations: 111.5 kB / 379.3 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.00268, allocations: 39.91 kB / 379.3 MB, free: 23.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.354e-05/0.002753, allocations: 67.88 kB / 379.4 MB, free: 23.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.002809, allocations: 39.89 kB / 379.4 MB, free: 23.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.002832, allocations: 12 kB / 379.4 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.002845, allocations: 8 kB / 379.4 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.002869, allocations: 27.91 kB / 379.4 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.002899, allocations: 31.92 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.003003, allocations: 87.7 kB / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003005, allocations: 0 / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003005, allocations: 0 / 379.6 MB, free: 23.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003008, allocations: 0 / 379.6 MB, free: 23.31 MB / 314.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.0003364/0.003345, allocations: 436.1 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.003377, allocations: 15.98 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.003413, allocations: 20.84 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.252e-05/0.003475, allocations: 120.5 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003488, allocations: 8.375 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.003501, allocations: 12.38 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.003637, allocations: 97.75 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.003645, allocations: 192 / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003655, allocations: 4.375 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.003661, allocations: 4.375 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.644e-05/0.003707, allocations: 35.84 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.004104, allocations: 407.2 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.004188, allocations: 47.05 kB / 380.7 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.764e-05/0.004256, allocations: 35.77 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.004265, allocations: 4 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.004283, allocations: 33.39 kB / 380.8 MB, free: 21.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.004284, allocations: 4 kB / 380.8 MB, free: 21.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002933/0.004577, allocations: 101.2 kB / 380.9 MB, free: 21.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.004597, allocations: 55.41 kB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.149e-05/0.004649, allocations: 165.9 kB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.004656, allocations: 29.7 kB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.004701, allocations: 162.6 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.004714, allocations: 23.78 kB / 381.3 MB, free: 21.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.004751, allocations: 27.31 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.004791, allocations: 0.4884 MB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.004808, allocations: 11.92 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.004835, allocations: 31.06 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.00488, allocations: 43.05 kB / 381.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004881, allocations: 0 / 381.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001124/0.004994, allocations: 89.17 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.005003, allocations: 4 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005008, allocations: 8.062 kB / 382 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.005112, allocations: 19.67 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.00517, allocations: 15.98 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005008/0.00567, allocations: 1.729 MB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.005716, allocations: 7.953 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005722, allocations: 8 kB / 383.8 MB, free: 18.69 MB / 314.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 4.736e-05/0.005769, allocations: 168.5 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.005792, allocations: 4 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.005803, allocations: 12.38 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.005803, allocations: 4 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.005805, allocations: 0 / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005808, allocations: 0 / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.006029, allocations: 337.2 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.00603, allocations: 0 / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.006064, allocations: 12 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.066e-05/0.006115, allocations: 23.7 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.00612, allocations: 4 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003918/0.006512, allocations: 1.733 MB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006513, allocations: 0 / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.67e-05/0.00661, allocations: 231.2 kB / 386.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-06/0.006615, allocations: 7.953 kB / 386.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.006622, allocations: 0 / 386.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.006688, allocations: 16.02 kB / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.006716, allocations: 7.984 kB / 386.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.006721, allocations: 8.125 kB / 386.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.04e-05/0.006741, allocations: 131.2 kB / 386.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006741, allocations: 0 / 386.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.00698, allocations: 35.83 kB / 386.5 MB, free: 15.77 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 5.355e-05/0.007034, allocations: 95.19 kB / 386.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.007194, allocations: 209.4 kB / 386.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007195, allocations: 4.125 kB / 386.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.007256, allocations: 197.5 kB / 387 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.007486, allocations: 8.641 kB / 387 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.00776, allocations: 203.7 kB / 387.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.007789, allocations: 67.33 kB / 387.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.634e-05/0.007815, allocations: 8.062 kB / 387.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.00786, allocations: 70.2 kB / 387.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007861, allocations: 0 / 387.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003203/0.01106, allocations: 1.319 MB / 388.7 MB, free: 13.52 MB / 314.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.019191801082343]