Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.001495/0.001495, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001653/0.001653, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2989/0.2989, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.282e-05, allocations: 5.469 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002851/0.002874, allocations: 2.482 MB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.00464, allocations: 1.082 MB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.004738, allocations: 8 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008545/0.005593, allocations: 0.5327 MB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.005878, allocations: 111.1 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.00648, allocations: 466 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.006743, allocations: 230.8 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.007061, allocations: 238.6 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.007259, allocations: 147.6 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.00738, allocations: 99.75 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.007407, allocations: 24 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.007655, allocations: 143.7 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.007686, allocations: 51.83 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.007741, allocations: 71.84 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.008087, allocations: 314.9 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.00809, allocations: 4 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008091, allocations: 0 / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.008095, allocations: 0 / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007239/0.008819, allocations: 0.5362 MB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.00885, allocations: 12.03 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.009076, allocations: 84.8 kB / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.009176, allocations: 133.5 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.009198, allocations: 32.81 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.009234, allocations: 24.38 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.009472, allocations: 215.9 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.009484, allocations: 192 / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.009502, allocations: 16.36 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.00951, allocations: 7.938 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.009595, allocations: 63.47 kB / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.01038, allocations: 0.6584 MB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.01055, allocations: 149 kB / 331.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.01064, allocations: 61.75 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.6e-05/0.01071, allocations: 15.98 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.01074, allocations: 35.5 kB / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.01074, allocations: 0 / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003808/0.01112, allocations: 199.3 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.01115, allocations: 81.11 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.01124, allocations: 134.6 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.01125, allocations: 25.7 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.01131, allocations: 152.3 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.01134, allocations: 63.42 kB / 331.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.01139, allocations: 41.64 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.01146, allocations: 326.9 kB / 332.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.01149, allocations: 16 kB / 332.2 MB, free: 496 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.01154, allocations: 76.41 kB / 332.3 MB, free: 400 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.01162, allocations: 104.5 kB / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01163, allocations: 112 / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00016/0.01179, allocations: 163 kB / 332.5 MB, free: 100 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.0118, allocations: 10.28 kB / 332.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01181, allocations: 7.984 kB / 332.6 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.01193, allocations: 41.69 kB / 332.6 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.01202, allocations: 35.92 kB / 332.6 MB, free: 0 / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.01326, allocations: 2.357 MB / 335 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.01333, allocations: 23.88 kB / 335 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01334, allocations: 11.94 kB / 335 MB, free: 13.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.01341, allocations: 117.8 kB / 335.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.01344, allocations: 15.98 kB / 335.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.01362, allocations: 148.2 kB / 335.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01362, allocations: 0 / 335.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01362, allocations: 4 kB / 335.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01363, allocations: 0 / 335.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.01401, allocations: 370 kB / 335.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01402, allocations: 0 / 335.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.01409, allocations: 36.03 kB / 335.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-05/0.01417, allocations: 33.7 kB / 335.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.01418, allocations: 11.88 kB / 335.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009345/0.01511, allocations: 2.357 MB / 338.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01511, allocations: 8 kB / 338.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.01534, allocations: 341.3 kB / 338.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.01535, allocations: 23.78 kB / 338.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.01537, allocations: 3.984 kB / 338.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.01544, allocations: 12 kB / 338.5 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.01548, allocations: 15.97 kB / 338.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01549, allocations: 7.984 kB / 338.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.01551, allocations: 24.34 kB / 338.5 MB, free: 9.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01551, allocations: 0 / 338.5 MB, free: 9.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.01577, allocations: 79.84 kB / 338.6 MB, free: 9.582 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0001563/0.01593, allocations: 108.4 kB / 338.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.0162, allocations: 328.5 kB / 339 MB, free: 9.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.01621, allocations: 4 kB / 339 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.01636, allocations: 281.9 kB / 339.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01656, allocations: 31.77 kB / 339.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.0172, allocations: 429.2 kB / 339.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01725, allocations: 76.22 kB / 339.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.716e-05/0.0173, allocations: 21.12 kB / 339.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.01736, allocations: 59.38 kB / 339.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01736, allocations: 4 kB / 339.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of Templates: time 0.004651/0.02201, allocations: 2.524 MB / 342.5 MB, free: 5.672 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/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.0518182031810284]