Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009706/0.0009706, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8981/0.8981, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 34.86 MB / 296.3 MB, free: 0.5312 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.754e-05, allocations: 3.016 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002799/0.002817, allocations: 2.507 MB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004049, allocations: 1.074 MB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.004135, allocations: 4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.004938, allocations: 0.5289 MB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.005167, allocations: 115.1 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.00572, allocations: 470.1 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.005972, allocations: 226.9 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.006307, allocations: 222.7 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.006479, allocations: 143.7 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.00658, allocations: 91.77 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.006606, allocations: 20 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.006828, allocations: 155.7 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.006863, allocations: 47.83 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.006922, allocations: 83.77 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.007239, allocations: 299 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.007241, allocations: 0 / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007242, allocations: 0 / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.007246, allocations: 4 kB / 384.7 MB, free: 12.12 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.0007759/0.008022, allocations: 0.6559 MB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.008055, allocations: 8.031 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.008287, allocations: 84.7 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.008379, allocations: 132.3 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.008396, allocations: 20.88 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.008433, allocations: 24.38 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.008743, allocations: 241.7 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.008757, allocations: 192 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.008779, allocations: 12.38 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.008789, allocations: 7.938 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.008947, allocations: 102.9 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.009868, allocations: 0.8943 MB / 386.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.01034, allocations: 190 kB / 387.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.01047, allocations: 87.39 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.01055, allocations: 16 kB / 387.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.01057, allocations: 41.42 kB / 387.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.01057, allocations: 7.938 kB / 387.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004614/0.01103, allocations: 229 kB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.01106, allocations: 81.11 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.01115, allocations: 193.2 kB / 387.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.01116, allocations: 25.7 kB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.01123, allocations: 199 kB / 387.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.01126, allocations: 75.3 kB / 388 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.01131, allocations: 47.23 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01142, allocations: 0.5 MB / 388.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.01147, allocations: 27.97 kB / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.01154, allocations: 95.22 kB / 388.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.01167, allocations: 136.2 kB / 388.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01167, allocations: 0 / 388.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002252/0.0119, allocations: 212.7 kB / 389 MB, free: 7.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01191, allocations: 8.031 kB / 389 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01192, allocations: 4 kB / 389 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.01207, allocations: 43.36 kB / 389 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.01216, allocations: 39.97 kB / 389.1 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.01353, allocations: 3.531 MB / 392.6 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.0136, allocations: 19.89 kB / 392.6 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01361, allocations: 8 kB / 392.6 MB, free: 3.59 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 8.715e-05/0.0137, allocations: 168.5 kB / 392.8 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.01373, allocations: 19.94 kB / 392.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.01397, allocations: 188.1 kB / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01397, allocations: 0 / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01397, allocations: 4 kB / 393 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01398, allocations: 3.984 kB / 393 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.01447, allocations: 0.541 MB / 393.6 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01448, allocations: 0 / 393.6 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.01455, allocations: 31.92 kB / 393.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-05/0.01465, allocations: 51.41 kB / 393.6 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01466, allocations: 8 kB / 393.6 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.01618, allocations: 3.528 MB / 397.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01618, allocations: 4 kB / 397.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.01654, allocations: 486.1 kB / 397.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.01655, allocations: 15.91 kB / 397.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.01656, allocations: 11.88 kB / 397.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.01664, allocations: 15.98 kB / 397.7 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.0167, allocations: 19.91 kB / 397.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01671, allocations: 8 kB / 397.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.719e-05/0.01675, allocations: 135.2 kB / 397.9 MB, free: 14 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01675, allocations: 0 / 397.9 MB, free: 14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003041/0.01706, allocations: 71.83 kB / 397.9 MB, free: 13.93 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.0001624/0.01722, allocations: 127.3 kB / 398.1 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003706/0.01759, allocations: 458.2 kB / 398.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01759, allocations: 384 / 398.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.01777, allocations: 407.3 kB / 398.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.01802, allocations: 15.92 kB / 398.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.01874, allocations: 457.4 kB / 399.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.997e-05/0.0188, allocations: 76.22 kB / 399.4 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.578e-05/0.01884, allocations: 21.12 kB / 399.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.01888, allocations: 20.5 kB / 399.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01888, allocations: 0 / 399.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of Templates: time 0.004708/0.02359, allocations: 2.631 MB / 402.1 MB, free: 9.629 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9237344306893647]