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.001128/0.001128, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001955/0.003083, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001143/0.001143, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002445, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1436/1.188, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.4039/0.4039, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03324/0.4371, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.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 3.316e-06/3.316e-06, allocations: 0 / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.571e-05, allocations: 4.219 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.005616/0.005651, allocations: 2.537 MB / 293.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.008444, allocations: 1.089 MB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.008601, allocations: 4 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.0097, allocations: 0.5209 MB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.01006, allocations: 115.2 kB / 294.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.01101, allocations: 458 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.01137, allocations: 230.9 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.0118, allocations: 233.9 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003591/0.01216, allocations: 159.7 kB / 295.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.01238, allocations: 99.7 kB / 296 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.01243, allocations: 24 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.01291, allocations: 147.8 kB / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/0.01294, allocations: 43.81 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.013, allocations: 63.88 kB / 296.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.01352, allocations: 279.1 kB / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.386e-05/0.01354, allocations: 0 / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01354, allocations: 0 / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.284e-05/0.01357, allocations: 0 / 296.6 MB, free: 2.348 MB / 282.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.001439/0.01501, allocations: 0.6654 MB / 297.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.01507, allocations: 8.031 kB / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.01547, allocations: 84.77 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.01566, allocations: 134.1 kB / 297.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.0157, allocations: 20.88 kB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.01576, allocations: 24.38 kB / 297.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.01655, allocations: 223.9 kB / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.01657, allocations: 192 / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.01659, allocations: 12.38 kB / 297.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.01661, allocations: 11.94 kB / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.01677, allocations: 63.45 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.018, allocations: 0.6545 MB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.01829, allocations: 152.9 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.01844, allocations: 77.67 kB / 298.7 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.01856, allocations: 19.98 kB / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.0186, allocations: 35.5 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.515e-06/0.0186, allocations: 4 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006101/0.01921, allocations: 183.3 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.01926, allocations: 81.11 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.01937, allocations: 142.2 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.01939, allocations: 29.64 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.01947, allocations: 152.3 kB / 299.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.01952, allocations: 63.42 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.01958, allocations: 41.64 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.0197, allocations: 330.7 kB / 299.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.01974, allocations: 20 kB / 299.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.01983, allocations: 65.97 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.01998, allocations: 116 kB / 299.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01999, allocations: 0 / 299.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002703/0.02026, allocations: 143.2 kB / 300.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.02028, allocations: 11.94 kB / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.02029, allocations: 0 / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.0205, allocations: 49.88 kB / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.02068, allocations: 35.92 kB / 300.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.02247, allocations: 2.361 MB / 302.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/0.02571, allocations: 20 kB / 302.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.02574, allocations: 15.94 kB / 302.6 MB, free: 11.9 MB / 298.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.0002068/0.02595, allocations: 121.7 kB / 302.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.02602, allocations: 15.98 kB / 302.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.02643, allocations: 141.8 kB / 302.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02643, allocations: 0 / 302.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.02644, allocations: 8 kB / 302.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.02645, allocations: 0 / 302.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.02728, allocations: 375.8 kB / 303.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.02728, allocations: 3.984 kB / 303.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.02744, allocations: 27.98 kB / 303.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.02747, allocations: 19.83 kB / 303.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.02765, allocations: 41.62 kB / 303.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.02766, allocations: 8.062 kB / 303.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.02948, allocations: 2.353 MB / 305.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.02948, allocations: 0 / 305.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.02989, allocations: 350.4 kB / 306 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.02992, allocations: 192 / 306 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.03005, allocations: 16.09 kB / 306 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.03011, allocations: 23.94 kB / 306 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.03013, allocations: 7.938 kB / 306 MB, free: 8.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.03016, allocations: 24.83 kB / 306.1 MB, free: 8.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03016, allocations: 0 / 306.1 MB, free: 8.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005414/0.0307, allocations: 75.78 kB / 306.1 MB, free: 8.043 MB / 298.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.0002788/0.03098, allocations: 108.3 kB / 306.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.03144, allocations: 325.8 kB / 306.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.03145, allocations: 4 kB / 306.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.03165, allocations: 274.5 kB / 306.8 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.03198, allocations: 36.92 kB / 306.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.03544, allocations: 447.1 kB / 307.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.03557, allocations: 76.22 kB / 307.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.03567, allocations: 17.14 kB / 307.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.03577, allocations: 67.38 kB / 307.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of SimCode: time 2.615e-06/0.03577, allocations: 0 / 307.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of Templates: time 0.007589/0.04336, allocations: 2.553 MB / 310 MB, free: 4.094 MB / 298.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 -ignoreHideResult -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.304806842468679]