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.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.0008407/0.0008407, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001968, 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.000749/0.000749, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001811, 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.9775/0.9775, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1942/1.172, 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.1509/0.1509, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02765/0.1786, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.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 3.366e-06/3.366e-06, allocations: 0 / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.809e-05, allocations: 2.312 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003119/0.003157, allocations: 1.807 MB / 287.6 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001627/0.00332, allocations: 95.61 kB / 287.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.003362, allocations: 0 / 287.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.489e-05/0.003407, allocations: 11.86 kB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.00345, allocations: 23.78 kB / 287.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.542e-05/0.003526, allocations: 27.95 kB / 287.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.003633, allocations: 115.5 kB / 287.9 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.003747, allocations: 35.97 kB / 287.9 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.00385, allocations: 71.83 kB / 288 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.003917, allocations: 43.88 kB / 288.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.003941, allocations: 8 kB / 288.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.003955, allocations: 12 kB / 288.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.003981, allocations: 19.94 kB / 288.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.004012, allocations: 31.94 kB / 288.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.004125, allocations: 67.7 kB / 288.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.004137, allocations: 0 / 288.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004138, allocations: 0 / 288.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.004148, allocations: 0 / 288.2 MB, free: 6.066 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.0004228/0.00457, allocations: 336.2 kB / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.004603, allocations: 8.031 kB / 288.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.00464, allocations: 12.92 kB / 288.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.004746, allocations: 125.6 kB / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.004758, allocations: 4.375 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.004775, allocations: 8.375 kB / 288.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.004966, allocations: 102.8 kB / 288.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004973, allocations: 192 / 288.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004984, allocations: 4.375 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.004991, allocations: 8.375 kB / 288.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.005029, allocations: 25.34 kB / 288.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.005478, allocations: 307.1 kB / 289.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.005578, allocations: 42.52 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.005643, allocations: 24.84 kB / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.005654, allocations: 3.938 kB / 289.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.462e-05/0.005688, allocations: 38.55 kB / 289.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 3.236e-06/0.005691, allocations: 7.984 kB / 289.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.000317/0.006008, allocations: 94.69 kB / 289.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.006037, allocations: 51.41 kB / 289.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.006112, allocations: 114.7 kB / 289.5 MB, free: 4.641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.006127, allocations: 29.7 kB / 289.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.006197, allocations: 111.9 kB / 289.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.006221, allocations: 23.88 kB / 289.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.006255, allocations: 17.67 kB / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.006345, allocations: 326.8 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.006362, allocations: 7.984 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.006389, allocations: 26.64 kB / 290 MB, free: 4.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.006433, allocations: 38.48 kB / 290 MB, free: 4.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006434, allocations: 0 / 290 MB, free: 4.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001066/0.006541, allocations: 78.41 kB / 290.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.006556, allocations: 4 kB / 290.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006562, allocations: 3.938 kB / 290.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.006699, allocations: 24.91 kB / 290.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.006768, allocations: 11.98 kB / 290.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006567/0.007425, allocations: 1.178 MB / 291.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.007466, allocations: 11.98 kB / 291.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.007471, allocations: 4 kB / 291.4 MB, free: 2.609 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 7.568e-05/0.007547, allocations: 113.8 kB / 291.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.007565, allocations: 8 kB / 291.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.28e-05/0.007578, allocations: 12.58 kB / 291.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.00758, allocations: 3.984 kB / 291.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.007582, allocations: 0 / 291.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007586, allocations: 3.984 kB / 291.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.007819, allocations: 240.5 kB / 291.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.007821, allocations: 4 kB / 291.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.007852, allocations: 11.94 kB / 291.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.00786, allocations: 11.92 kB / 291.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.007912, allocations: 16.89 kB / 291.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.007921, allocations: 7.938 kB / 291.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000601/0.008522, allocations: 1.174 MB / 293 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.008524, allocations: 3.984 kB / 293 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.008646, allocations: 169.1 kB / 293.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-06/0.008651, allocations: 144 / 293.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.008692, allocations: 8 kB / 293.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.008726, allocations: 16 kB / 293.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.008733, allocations: 4 kB / 293.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.649e-05/0.008749, allocations: 12.84 kB / 293.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.008749, allocations: 4 kB / 293.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.008903, allocations: 23.95 kB / 293.2 MB, free: 0.6211 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 9.122e-05/0.008994, allocations: 80.41 kB / 293.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.009187, allocations: 143.5 kB / 293.4 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.009196, allocations: 4.188 kB / 293.4 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.009281, allocations: 143.4 kB / 293.6 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.009501, allocations: 79.69 kB / 293.6 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.01017, allocations: 221.4 kB / 293.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.01021, allocations: 63.34 kB / 293.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.428e-05/0.01023, allocations: 8.078 kB / 293.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.01029, allocations: 51.38 kB / 294 MB, free: 15.74 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01029, allocations: 0 / 294 MB, free: 15.74 MB / 298.7 MB Notification: Performance of Templates: time 0.003812/0.01411, allocations: 1.164 MB / 295.1 MB, free: 14.59 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8964644204825163]