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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004447/0.005362, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002173, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9364/0.9364, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1931/1.129, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.1835/0.1835, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02411/0.2076, allocations: 12.54 MB / 284.5 MB, free: 9.723 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.463e-06/1.463e-06, allocations: 0 / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.645e-05, allocations: 5.125 kB / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002976/0.003002, allocations: 2.524 MB / 288.3 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004355, allocations: 1.039 MB / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004458, allocations: 8 kB / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.00526, allocations: 0.5209 MB / 289.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.005518, allocations: 107.2 kB / 290 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007719/0.00629, allocations: 0.5949 MB / 290.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.006577, allocations: 238.9 kB / 290.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.006916, allocations: 213.4 kB / 291.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.007144, allocations: 155.7 kB / 291.2 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.007289, allocations: 99.7 kB / 291.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.007316, allocations: 24 kB / 291.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.007611, allocations: 143.7 kB / 291.5 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.007641, allocations: 39.81 kB / 291.5 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.007696, allocations: 63.88 kB / 291.6 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.008049, allocations: 275.1 kB / 291.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.008062, allocations: 0 / 291.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.008063, allocations: 0 / 291.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.008078, allocations: 4 kB / 291.8 MB, free: 2.391 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.0009433/0.009021, allocations: 0.653 MB / 292.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.009058, allocations: 11.97 kB / 292.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.009316, allocations: 96.73 kB / 292.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.009429, allocations: 125.6 kB / 292.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.009447, allocations: 20.88 kB / 292.7 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.009487, allocations: 24.38 kB / 292.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.009732, allocations: 219.9 kB / 293 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.009744, allocations: 4.172 kB / 293 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.009759, allocations: 12.38 kB / 293 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.009767, allocations: 7.938 kB / 293 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-05/0.00986, allocations: 67.45 kB / 293.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.0107, allocations: 0.6662 MB / 293.7 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.01089, allocations: 152.9 kB / 293.9 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.01099, allocations: 65.75 kB / 294 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.671e-05/0.01108, allocations: 8 kB / 294 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.01111, allocations: 42.55 kB / 294 MB, free: 84 kB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.01111, allocations: 0 / 294 MB, free: 84 kB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003862/0.0115, allocations: 187.3 kB / 294.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.01153, allocations: 81.11 kB / 294.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.01159, allocations: 126.7 kB / 294.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.01161, allocations: 25.7 kB / 294.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.01166, allocations: 156.2 kB / 294.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.0117, allocations: 63.53 kB / 294.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.01175, allocations: 41.62 kB / 294.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.01182, allocations: 330.8 kB / 295 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.01185, allocations: 16 kB / 295 MB, free: 15.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.01189, allocations: 66.11 kB / 295.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/0.01199, allocations: 113.8 kB / 295.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01199, allocations: 0 / 295.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001739/0.01217, allocations: 161.8 kB / 295.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01218, allocations: 7.938 kB / 295.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01219, allocations: 4 kB / 295.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.01233, allocations: 37.7 kB / 295.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.01242, allocations: 43.91 kB / 295.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.01357, allocations: 2.364 MB / 297.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.01365, allocations: 19.89 kB / 297.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01366, allocations: 15.92 kB / 297.8 MB, free: 11.95 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 8.896e-05/0.01375, allocations: 121.8 kB / 298 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.01378, allocations: 15.98 kB / 298 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.01399, allocations: 146.8 kB / 298.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01399, allocations: 0 / 298.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01399, allocations: 4 kB / 298.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.014, allocations: 3.984 kB / 298.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.01442, allocations: 362 kB / 298.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.01442, allocations: 0 / 298.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.01449, allocations: 27.98 kB / 298.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.01451, allocations: 19.83 kB / 298.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.704e-05/0.01459, allocations: 49.67 kB / 298.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.0146, allocations: 8 kB / 298.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.01561, allocations: 2.345 MB / 300.9 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.01561, allocations: 3.938 kB / 300.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.01586, allocations: 358.5 kB / 301.3 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.01588, allocations: 4 kB / 301.3 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.01596, allocations: 12 kB / 301.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.01602, allocations: 19.95 kB / 301.3 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.01602, allocations: 8 kB / 301.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.01605, allocations: 24.83 kB / 301.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01605, allocations: 0 / 301.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.01636, allocations: 71.78 kB / 301.4 MB, free: 8.102 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.0002272/0.01659, allocations: 108.3 kB / 301.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.01693, allocations: 327.8 kB / 301.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01694, allocations: 4 kB / 301.8 MB, free: 7.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.01713, allocations: 283.1 kB / 302.1 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.01741, allocations: 95.25 kB / 302.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.01953, allocations: 447 kB / 302.6 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.858e-05/0.01959, allocations: 80.22 kB / 302.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.01964, allocations: 17.14 kB / 302.7 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.01971, allocations: 67.36 kB / 302.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01971, allocations: 0 / 302.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of Templates: time 0.004649/0.02436, allocations: 2.439 MB / 305.2 MB, free: 4.145 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.853408913128078]