Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009012/0.0009012, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.002002, 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.0007197/0.0007197, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009257/0.001645, 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 0.9396/0.9396, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09074/1.03, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0233/0.2672, allocations: 13.1 MB / 291.3 MB, free: 7.383 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 292.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.134e-05, allocations: 4.844 kB / 292.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002708/0.00273, allocations: 1.826 MB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.002878, allocations: 87.67 kB / 294.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.002918, allocations: 4 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.002961, allocations: 11.86 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.003003, allocations: 31.7 kB / 294.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.211e-05/0.003075, allocations: 23.97 kB / 294.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003181, allocations: 119.5 kB / 294.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.003299, allocations: 35.95 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.86e-05/0.003397, allocations: 76.38 kB / 294.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.003458, allocations: 35.89 kB / 294.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.003482, allocations: 12 kB / 294.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.003495, allocations: 12 kB / 294.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.003516, allocations: 15.94 kB / 294.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.00355, allocations: 31.94 kB / 294.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.00367, allocations: 67.75 kB / 295 MB, free: 3.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.003683, allocations: 0 / 295 MB, free: 3.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.003684, allocations: 4 kB / 295 MB, free: 3.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.003696, allocations: 0 / 295 MB, free: 3.953 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004779/0.004174, allocations: 329.4 kB / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.004212, allocations: 8.625 kB / 295.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.004247, allocations: 16.92 kB / 295.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.004347, allocations: 121.6 kB / 295.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004358, allocations: 4.375 kB / 295.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.00437, allocations: 8.375 kB / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.004529, allocations: 106.8 kB / 295.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.004537, allocations: 192 / 295.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.004546, allocations: 4.375 kB / 295.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.004552, allocations: 4.375 kB / 295.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.004589, allocations: 24.89 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.004994, allocations: 307.1 kB / 295.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.005075, allocations: 38.58 kB / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.005134, allocations: 28.83 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.005143, allocations: 4 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.005164, allocations: 34.5 kB / 296 MB, free: 2.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.005165, allocations: 4 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002612/0.005426, allocations: 86.56 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005453, allocations: 55.41 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.005523, allocations: 126.6 kB / 296.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.005534, allocations: 25.7 kB / 296.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.005582, allocations: 111.8 kB / 296.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.005597, allocations: 27.84 kB / 296.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.005627, allocations: 17.72 kB / 296.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.005711, allocations: 318.8 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.005726, allocations: 7.984 kB / 296.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.005751, allocations: 22.56 kB / 296.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.005796, allocations: 42.75 kB / 296.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005799, allocations: 0 / 296.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000129/0.005928, allocations: 78.44 kB / 296.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.005942, allocations: 8 kB / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005947, allocations: 0 / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.006068, allocations: 20.83 kB / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.006136, allocations: 15.98 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006087/0.006745, allocations: 1.178 MB / 298.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.006775, allocations: 4 kB / 298.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.006779, allocations: 4.062 kB / 298.1 MB, free: 0.5273 MB / 282.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 5.859e-05/0.006837, allocations: 121.7 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.006854, allocations: 8 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.006876, allocations: 8.438 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.006877, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.00688, allocations: 4 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.006882, allocations: 0 / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.007103, allocations: 244.3 kB / 298.5 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.007106, allocations: 0 / 298.5 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.007138, allocations: 12.17 kB / 298.5 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.007147, allocations: 11.92 kB / 298.5 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-05/0.007206, allocations: 20.84 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.007213, allocations: 8.062 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004857/0.007698, allocations: 1.175 MB / 299.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0077, allocations: 0 / 299.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.007803, allocations: 173.1 kB / 299.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-06/0.007808, allocations: 4 kB / 299.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/0.007853, allocations: 4 kB / 299.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.007883, allocations: 15.92 kB / 299.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.007887, allocations: 0 / 299.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.3e-05/0.0079, allocations: 20.83 kB / 299.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0079, allocations: 0 / 299.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000138/0.008038, allocations: 27.95 kB / 300 MB, free: 14.52 MB / 298.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 7.121e-05/0.008109, allocations: 76.36 kB / 300.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.008273, allocations: 147.6 kB / 300.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.008281, allocations: 0 / 300.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.008358, allocations: 139.4 kB / 300.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.008533, allocations: 23.91 kB / 300.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.009173, allocations: 218.4 kB / 300.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.00921, allocations: 63.34 kB / 300.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.009237, allocations: 7.984 kB / 300.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.009293, allocations: 51.38 kB / 300.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of SimCode: time 1.794e-06/0.009295, allocations: 0 / 300.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002781/0.01208, allocations: 1.173 MB / 301.9 MB, free: 12.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.829638008028269]