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.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.001009/0.001009, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.001195/0.001195, allocations: 164.4 kB / 25.61 MB, free: 8.59 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.965/0.965, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.153/0.153, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.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.323e-06/1.323e-06, allocations: 0 / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.196e-05, allocations: 6.312 kB / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003091/0.003113, allocations: 2.478 MB / 379.7 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.004628, allocations: 1.055 MB / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.004808, allocations: 4 kB / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.005837, allocations: 0.517 MB / 381.3 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.006188, allocations: 115.2 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.007004, allocations: 450.1 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.007364, allocations: 226.9 kB / 382.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.007763, allocations: 222.7 kB / 382.3 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.008002, allocations: 151.6 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.008132, allocations: 91.78 kB / 382.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.008162, allocations: 27.98 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.008493, allocations: 147.7 kB / 382.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.00853, allocations: 51.83 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.008605, allocations: 75.77 kB / 382.8 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.009005, allocations: 310.9 kB / 383.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.009009, allocations: 0 / 383.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.00901, allocations: 0 / 383.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.009015, allocations: 0 / 383.1 MB, free: 19.72 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009051/0.009921, allocations: 0.652 MB / 383.8 MB, free: 19.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.009961, allocations: 8.031 kB / 383.8 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.01028, allocations: 88.66 kB / 383.9 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.01038, allocations: 132.4 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.0104, allocations: 16.88 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.01044, allocations: 24.38 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.01074, allocations: 225.6 kB / 384.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.01075, allocations: 192 / 384.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.01077, allocations: 12.38 kB / 384.3 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.01078, allocations: 11.94 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.0109, allocations: 75.42 kB / 384.4 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.01184, allocations: 0.8675 MB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.01206, allocations: 186 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.01218, allocations: 71.39 kB / 385.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.01226, allocations: 20.09 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.01229, allocations: 41.33 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.725e-06/0.01229, allocations: 0 / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004942/0.01278, allocations: 230.9 kB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.01281, allocations: 77.11 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.01289, allocations: 185.9 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.0129, allocations: 33.83 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.01295, allocations: 191 kB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.01299, allocations: 71.42 kB / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.01306, allocations: 43.34 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.01312, allocations: 0.5039 MB / 386.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.01316, allocations: 19.98 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.01323, allocations: 91.19 kB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.01335, allocations: 136.7 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01336, allocations: 0 / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002633/0.01362, allocations: 180.7 kB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.01364, allocations: 7.938 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01364, allocations: 0 / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.01382, allocations: 59.52 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01393, allocations: 35.92 kB / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.01519, allocations: 3.473 MB / 390.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.01528, allocations: 23.84 kB / 390.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01529, allocations: 4.062 kB / 390.9 MB, free: 11.41 MB / 314.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 9.658e-05/0.01539, allocations: 176.5 kB / 391 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.01545, allocations: 15.95 kB / 391.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.01569, allocations: 169.7 kB / 391.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.0157, allocations: 4 kB / 391.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.0157, allocations: 0 / 391.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01571, allocations: 7.984 kB / 391.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.01623, allocations: 0.4927 MB / 391.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01623, allocations: 0 / 391.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.01633, allocations: 31.92 kB / 391.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.01644, allocations: 51.28 kB / 391.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01645, allocations: 4 kB / 391.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009352/0.01739, allocations: 3.466 MB / 395.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.01739, allocations: 11.92 kB / 395.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.01768, allocations: 475.9 kB / 395.8 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.01769, allocations: 15.83 kB / 395.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01771, allocations: 4 kB / 395.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.01783, allocations: 16.08 kB / 395.8 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.01788, allocations: 23.97 kB / 395.8 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.01789, allocations: 4 kB / 395.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.01793, allocations: 141.3 kB / 396 MB, free: 5.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01793, allocations: 0 / 396 MB, free: 5.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.01835, allocations: 75.78 kB / 396 MB, free: 5.902 MB / 314.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.0001804/0.01853, allocations: 135.2 kB / 396.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.01883, allocations: 442.3 kB / 396.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01884, allocations: 0 / 396.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.01898, allocations: 403.8 kB / 397 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.01933, allocations: 19.97 kB / 397 MB, free: 4.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.02009, allocations: 442.3 kB / 397.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.996e-05/0.02015, allocations: 80.2 kB / 397.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.02021, allocations: 17.14 kB / 397.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.02027, allocations: 86.19 kB / 397.6 MB, free: 4.172 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02027, allocations: 4 kB / 397.6 MB, free: 4.168 MB / 314.7 MB Notification: Performance of Templates: time 0.005395/0.02566, allocations: 2.702 MB / 400.3 MB, free: 1.496 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3196045691147447]