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.002295/0.002295, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00268/0.00268, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3393/0.3393, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.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.433e-06/1.433e-06, allocations: 3.938 kB / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/2.982e-05, allocations: 2.312 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004364/0.004394, allocations: 2.475 MB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.006421, allocations: 1.047 MB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.655e-05/0.006517, allocations: 8 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.007976, allocations: 0.5172 MB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.008285, allocations: 119.1 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.009382, allocations: 458.1 kB / 379.9 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.009735, allocations: 234.9 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.01021, allocations: 222.8 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.01048, allocations: 139.7 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.01064, allocations: 99.7 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.01069, allocations: 24 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.011, allocations: 147.7 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.01107, allocations: 55.81 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.01117, allocations: 71.84 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.01179, allocations: 422.6 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01179, allocations: 0 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01179, allocations: 0 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.0118, allocations: 4 kB / 381.3 MB, free: 14.95 MB / 362.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.001419/0.01322, allocations: 0.6556 MB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01325, allocations: 12.03 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.01367, allocations: 88.67 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.01381, allocations: 128.4 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.01384, allocations: 20.88 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.01389, allocations: 28.31 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.0145, allocations: 297 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.01452, allocations: 192 / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.01455, allocations: 12.38 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01456, allocations: 7.938 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.01506, allocations: 201.8 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.01697, allocations: 0.9879 MB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.01744, allocations: 218 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.01776, allocations: 119.4 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.01788, allocations: 19.98 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.01793, allocations: 41.39 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.01793, allocations: 0 / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001094/0.01902, allocations: 330.8 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.01908, allocations: 81.11 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.01926, allocations: 197.8 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.0193, allocations: 33.7 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.01945, allocations: 195 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.78e-05/0.01952, allocations: 75.5 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.01962, allocations: 51.36 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002986/0.01992, allocations: 0.504 MB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.02009, allocations: 59.83 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.02033, allocations: 133.7 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.02076, allocations: 208.8 kB / 385.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.02076, allocations: 0 / 385.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000615/0.02138, allocations: 268.6 kB / 386.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.0214, allocations: 8 kB / 386.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.02141, allocations: 4.188 kB / 386.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.02169, allocations: 67.39 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.02187, allocations: 35.92 kB / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.02518, allocations: 3.64 MB / 389.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.0253, allocations: 19.95 kB / 389.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.02532, allocations: 8 kB / 389.9 MB, free: 5.68 MB / 362.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 0.0001872/0.02551, allocations: 188.5 kB / 390.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.02557, allocations: 15.95 kB / 390.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.02642, allocations: 240 kB / 390.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.02643, allocations: 4 kB / 390.4 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.02643, allocations: 0 / 390.4 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.02644, allocations: 3.984 kB / 390.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.02756, allocations: 0.6405 MB / 391 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02757, allocations: 0 / 391 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.02773, allocations: 35.91 kB / 391.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/0.02789, allocations: 63.5 kB / 391.1 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.02791, allocations: 7.984 kB / 391.1 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.03087, allocations: 3.633 MB / 394.8 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.03087, allocations: 4 kB / 394.8 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.03179, allocations: 0.588 MB / 395.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.03182, allocations: 19.84 kB / 395.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.03185, allocations: 7.938 kB / 395.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.03201, allocations: 15.98 kB / 395.4 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.03207, allocations: 15.97 kB / 395.4 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.03209, allocations: 8 kB / 395.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.0322, allocations: 146.3 kB / 395.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0322, allocations: 4.031 kB / 395.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004472/0.03264, allocations: 79.75 kB / 395.6 MB, free: 15.6 MB / 378.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.0002423/0.03288, allocations: 119.2 kB / 395.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.0337, allocations: 0.5137 MB / 396.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0337, allocations: 0 / 396.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.03419, allocations: 435.3 kB / 396.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.03453, allocations: 12.55 kB / 396.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.03545, allocations: 467.7 kB / 397.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.03561, allocations: 133 kB / 397.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.913e-05/0.03568, allocations: 17.14 kB / 397.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.03573, allocations: 20.5 kB / 397.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03573, allocations: 0 / 397.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of Templates: time 0.00752/0.04325, allocations: 2.424 MB / 399.8 MB, free: 11.36 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0166952080326155]