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.001402/0.001402, allocations: 83.58 kB / 21.19 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.001025/0.001025, allocations: 165 kB / 24.56 MB, free: 16 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.021/1.021, allocations: 177.1 MB / 205 MB, free: 5.289 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.3162/0.3162, allocations: 32.8 MB / 294.3 MB, free: 0.6797 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.723e-06/1.723e-06, allocations: 0 / 376 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.807e-05, allocations: 2.312 kB / 376 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003016/0.003034, allocations: 2.512 MB / 378.5 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.00466, allocations: 1.063 MB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.00478, allocations: 4 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009475/0.005727, allocations: 0.525 MB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.006014, allocations: 119.1 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.006669, allocations: 462.2 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.006981, allocations: 234.9 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.007369, allocations: 214.7 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.007595, allocations: 143.8 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.007724, allocations: 99.7 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.007755, allocations: 23.94 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.008052, allocations: 143.8 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.008091, allocations: 59.75 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.008156, allocations: 71.83 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.008529, allocations: 303 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008532, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.008533, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.008539, allocations: 7.938 kB / 381.9 MB, free: 14.58 MB / 362.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.0009137/0.009452, allocations: 0.6481 MB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.009498, allocations: 8.031 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.009788, allocations: 84.7 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.009928, allocations: 136.3 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.009951, allocations: 16.88 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.01, allocations: 24.38 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.01038, allocations: 245.7 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.0104, allocations: 192 / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.01042, allocations: 16.31 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.01044, allocations: 7.938 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.0106, allocations: 98.92 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01172, allocations: 0.902 MB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.01198, allocations: 186.1 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.01213, allocations: 91.27 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.01223, allocations: 16 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.01226, allocations: 45.38 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.01226, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005101/0.01277, allocations: 238.8 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.01281, allocations: 77.11 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.01293, allocations: 189.8 kB / 384.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01295, allocations: 29.7 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.01304, allocations: 195 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.01308, allocations: 75.38 kB / 385.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.01314, allocations: 47.22 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.0133, allocations: 0.4922 MB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.01335, allocations: 27.97 kB / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-05/0.01343, allocations: 96.97 kB / 385.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.01359, allocations: 141.7 kB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01359, allocations: 4 kB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002653/0.01385, allocations: 204.7 kB / 386.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01387, allocations: 8 kB / 386.2 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01388, allocations: 0 / 386.2 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.0141, allocations: 55.34 kB / 386.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.01419, allocations: 35.92 kB / 386.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.01593, allocations: 3.527 MB / 389.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.016, allocations: 19.88 kB / 389.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01602, allocations: 12 kB / 389.9 MB, free: 6.051 MB / 362.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 0.0001046/0.01612, allocations: 160.6 kB / 390.1 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.01616, allocations: 19.94 kB / 390.1 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.01641, allocations: 189.5 kB / 390.3 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01641, allocations: 4 kB / 390.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01642, allocations: 0 / 390.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01642, allocations: 3.984 kB / 390.3 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.01699, allocations: 0.5382 MB / 390.8 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01699, allocations: 4 kB / 390.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.01707, allocations: 28.09 kB / 390.8 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.01717, allocations: 59.34 kB / 390.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01719, allocations: 4 kB / 390.9 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.01868, allocations: 3.531 MB / 394.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01869, allocations: 192 / 394.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.01907, allocations: 0.4886 MB / 394.9 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01909, allocations: 15.89 kB / 394.9 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.0191, allocations: 3.938 kB / 394.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.01918, allocations: 15.98 kB / 395 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.01924, allocations: 19.97 kB / 395 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01925, allocations: 4 kB / 395 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.464e-05/0.01931, allocations: 138.8 kB / 395.1 MB, free: 480 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01931, allocations: 4 kB / 395.1 MB, free: 476 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003198/0.01963, allocations: 75.81 kB / 395.2 MB, free: 400 kB / 362.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.0002226/0.01985, allocations: 127.1 kB / 395.3 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.02032, allocations: 447.6 kB / 395.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02032, allocations: 4 kB / 395.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.02054, allocations: 403.2 kB / 396.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.02083, allocations: 19.98 kB / 396.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.02176, allocations: 449.3 kB / 396.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.02183, allocations: 84.22 kB / 396.7 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.02187, allocations: 17.12 kB / 396.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.02191, allocations: 16.5 kB / 396.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02191, allocations: 0 / 396.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of Templates: time 0.0053/0.02721, allocations: 2.627 MB / 399.3 MB, free: 12.09 MB / 378.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.517605812754482]