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.001152/0.001152, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.002192/0.002192, allocations: 169.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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.9512/0.9512, allocations: 177.2 MB / 206.1 MB, free: 4.52 MB / 186.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.1666/0.1666, allocations: 34.26 MB / 296.9 MB, free: 13.93 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.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.708e-05, allocations: 7.594 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002214/0.002241, allocations: 1.758 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.00543, allocations: 91.67 kB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.005481, allocations: 0 / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.005529, allocations: 11.86 kB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.005595, allocations: 27.77 kB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.851e-05/0.005683, allocations: 27.97 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.005782, allocations: 111.5 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.005904, allocations: 39.89 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.005979, allocations: 67.88 kB / 381.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.006035, allocations: 43.83 kB / 381.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.006055, allocations: 12 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.006067, allocations: 12 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.006094, allocations: 23.91 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.006124, allocations: 31.97 kB / 381.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.006233, allocations: 75.73 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006236, allocations: 0 / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006237, allocations: 3.938 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006241, allocations: 0 / 381.6 MB, free: 21.11 MB / 314.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.0003429/0.006584, allocations: 444.1 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.006613, allocations: 8.031 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.006649, allocations: 20.84 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.468e-05/0.006714, allocations: 132.4 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.006725, allocations: 8.375 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.006736, allocations: 8.375 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.006873, allocations: 97.75 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.006881, allocations: 192 / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.00689, allocations: 4.375 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.006896, allocations: 4.375 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.006938, allocations: 27.92 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.007326, allocations: 399.2 kB / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.61e-05/0.007403, allocations: 59.02 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.007461, allocations: 31.8 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.007469, allocations: 0 / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.007481, allocations: 33.39 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.007482, allocations: 0 / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002549/0.007737, allocations: 109.2 kB / 382.9 MB, free: 19.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.356e-05/0.00775, allocations: 51.41 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.9e-05/0.007799, allocations: 173.9 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.007805, allocations: 25.7 kB / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.007841, allocations: 154.7 kB / 383.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.007853, allocations: 27.78 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.007889, allocations: 27.36 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.007928, allocations: 496.1 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.007943, allocations: 12.23 kB / 383.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.007968, allocations: 35.05 kB / 383.9 MB, free: 18.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.00801, allocations: 50.98 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008012, allocations: 0 / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.008117, allocations: 85.19 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.008127, allocations: 8 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.008131, allocations: 0 / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.01124, allocations: 27.72 kB / 384.1 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.0113, allocations: 15.98 kB / 384.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004909/0.01179, allocations: 1.729 MB / 385.8 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.01183, allocations: 11.94 kB / 385.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.01184, allocations: 4 kB / 385.9 MB, free: 16.48 MB / 314.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.144e-05/0.01189, allocations: 160.5 kB / 386 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.01191, allocations: 4.031 kB / 386 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.179e-05/0.01192, allocations: 16.44 kB / 386 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.01192, allocations: 0 / 386 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01193, allocations: 0 / 386 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01193, allocations: 0 / 386 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.01216, allocations: 337.3 kB / 386.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01216, allocations: 4 kB / 386.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.0122, allocations: 15.92 kB / 386.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.01225, allocations: 27.67 kB / 386.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.01226, allocations: 4.031 kB / 386.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004177/0.01268, allocations: 1.733 MB / 388.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01268, allocations: 0 / 388.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.01278, allocations: 231.2 kB / 388.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.01279, allocations: 11.94 kB / 388.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.0128, allocations: 4 kB / 388.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.01285, allocations: 4 kB / 388.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.01289, allocations: 11.98 kB / 388.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.01289, allocations: 4.031 kB / 388.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.199e-05/0.01291, allocations: 131.5 kB / 388.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01291, allocations: 0 / 388.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01314, allocations: 27.83 kB / 388.6 MB, free: 13.57 MB / 314.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 6.176e-05/0.0132, allocations: 95.25 kB / 388.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.01336, allocations: 209.4 kB / 388.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01336, allocations: 0 / 388.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.01342, allocations: 197.7 kB / 389 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01365, allocations: 8.281 kB / 389.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.01392, allocations: 219.9 kB / 389.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.605e-05/0.01394, allocations: 63.34 kB / 389.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.01397, allocations: 4 kB / 389.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.01401, allocations: 70.2 kB / 389.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01401, allocations: 0 / 389.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of Templates: time 0.009161/0.02317, allocations: 1.318 MB / 390.7 MB, free: 11.31 MB / 314.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 -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: 3.3150604628026485]