Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001236/0.001236, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002066/0.003303, 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.001424/0.001424, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001888/0.003312, 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.207/1.207, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.198/1.405, 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.3591/0.3591, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04291/0.402, allocations: 12.53 MB / 289.3 MB, free: 8.688 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 290.6 MB, free: 7.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.515e-05/4.791e-05, allocations: 5 kB / 290.6 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.004589/0.004637, allocations: 1.819 MB / 292.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.004898, allocations: 91.88 kB / 292.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.004974, allocations: 2.531 kB / 292.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.739e-05/0.005051, allocations: 17.14 kB / 292.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/0.005132, allocations: 26.53 kB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.005251, allocations: 23.16 kB / 292.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.005522, allocations: 116.4 kB / 292.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.005752, allocations: 41.95 kB / 292.7 MB, free: 6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.006022, allocations: 70.44 kB / 292.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.006148, allocations: 41.03 kB / 292.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.006188, allocations: 11.31 kB / 292.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.00621, allocations: 10.94 kB / 292.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.006245, allocations: 19.41 kB / 292.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.006312, allocations: 27.38 kB / 292.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.006537, allocations: 69.95 kB / 293 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.057e-05/0.006557, allocations: 0 / 293 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.00656, allocations: 0 / 293 MB, free: 5.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.006581, allocations: 4 kB / 293 MB, free: 5.883 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.0007075/0.007289, allocations: 332.5 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.00735, allocations: 10.84 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.007407, allocations: 13.05 kB / 293.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.007567, allocations: 117.7 kB / 293.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.007587, allocations: 8.375 kB / 293.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.007607, allocations: 12.38 kB / 293.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.007873, allocations: 110.7 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.007882, allocations: 4.188 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.007898, allocations: 4.375 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007906, allocations: 4.375 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.00798, allocations: 24.89 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.008712, allocations: 307.1 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.008864, allocations: 34.58 kB / 293.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.008985, allocations: 24.97 kB / 293.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.008998, allocations: 8 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.009037, allocations: 30.56 kB / 294 MB, free: 4.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 4.359e-06/0.009042, allocations: 0 / 294 MB, free: 4.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004382/0.00948, allocations: 94.38 kB / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.009522, allocations: 55.41 kB / 294.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.009627, allocations: 114.7 kB / 294.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.009646, allocations: 29.7 kB / 294.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.009727, allocations: 111.9 kB / 294.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.009751, allocations: 23.84 kB / 294.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.009801, allocations: 25.64 kB / 294.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.009928, allocations: 314.8 kB / 294.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.009954, allocations: 4 kB / 294.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.009997, allocations: 26.56 kB / 294.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/0.01007, allocations: 42.55 kB / 294.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01007, allocations: 0 / 294.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001806/0.01026, allocations: 78.41 kB / 294.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.01028, allocations: 8 kB / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.01029, allocations: 0 / 294.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.0105, allocations: 20.84 kB / 294.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01061, allocations: 16.3 kB / 294.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.01173, allocations: 1.174 MB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.01179, allocations: 8 kB / 296.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.01181, allocations: 8.031 kB / 296.1 MB, free: 2.531 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 0.0001269/0.01193, allocations: 121.8 kB / 296.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.01196, allocations: 7.938 kB / 296.2 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.01199, allocations: 8.438 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.012, allocations: 0 / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.012, allocations: 3.938 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.01201, allocations: 4 kB / 296.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.01241, allocations: 244.3 kB / 296.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.01242, allocations: 0 / 296.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.01248, allocations: 16.03 kB / 296.5 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.01249, allocations: 3.938 kB / 296.5 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.0126, allocations: 24.84 kB / 296.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01261, allocations: 3.938 kB / 296.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009325/0.01355, allocations: 1.167 MB / 297.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.01355, allocations: 4.062 kB / 297.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.01376, allocations: 181.1 kB / 297.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.01377, allocations: 8.031 kB / 297.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.01384, allocations: 4 kB / 297.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.01389, allocations: 7.984 kB / 297.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.0139, allocations: 0 / 297.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.01393, allocations: 20.84 kB / 297.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01393, allocations: 0 / 297.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.01419, allocations: 23.95 kB / 298 MB, free: 0.5273 MB / 282.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 0.0001687/0.01436, allocations: 80.36 kB / 298 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.01467, allocations: 151.4 kB / 298.2 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.01468, allocations: 0 / 298.2 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.0148, allocations: 135.4 kB / 298.3 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01506, allocations: 15.94 kB / 298.3 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.01615, allocations: 218.2 kB / 298.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.01621, allocations: 63.34 kB / 298.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.01625, allocations: 0 / 298.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.01633, allocations: 55.38 kB / 298.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.274e-06/0.01633, allocations: 0 / 298.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of Templates: time 0.005082/0.02141, allocations: 1.185 MB / 299.8 MB, free: 14.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.2840657215565443]