Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001061/0.001061, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001398/0.001398, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9629/0.9629, allocations: 177.2 MB / 205 MB, free: 5.285 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.2716/0.2716, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.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.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.394e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.006215/0.006239, allocations: 2.512 MB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.01073, allocations: 1.07 MB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.01082, allocations: 4 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.01177, allocations: 0.525 MB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.01201, allocations: 111.2 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.01269, allocations: 466.1 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.01296, allocations: 230.9 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.01351, allocations: 214.7 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.0137, allocations: 151.7 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.01383, allocations: 91.77 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.01386, allocations: 24 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.01411, allocations: 147.7 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.01415, allocations: 51.83 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.01422, allocations: 83.77 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.01458, allocations: 303 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01459, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01459, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.01459, allocations: 0 / 384 MB, free: 12.7 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.0009406/0.01553, allocations: 0.6481 MB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01557, allocations: 12.03 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.01588, allocations: 80.7 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.01598, allocations: 132.3 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.01601, allocations: 24.86 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.01605, allocations: 32.31 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.01653, allocations: 233.7 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.01654, allocations: 192 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01656, allocations: 8.375 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.01658, allocations: 11.94 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.01678, allocations: 106.9 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.01789, allocations: 0.8943 MB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.01815, allocations: 187.6 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.01831, allocations: 91.44 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.0184, allocations: 23.92 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.01842, allocations: 33.39 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.01843, allocations: 0 / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005483/0.01897, allocations: 239.5 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.01901, allocations: 85.09 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.01911, allocations: 185.9 kB / 387 MB, free: 9.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.01912, allocations: 25.7 kB / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.01921, allocations: 203 kB / 387.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.01925, allocations: 67.38 kB / 387.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.01931, allocations: 47.22 kB / 387.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01943, allocations: 0.5 MB / 387.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.01949, allocations: 36.11 kB / 387.8 MB, free: 8.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.01958, allocations: 104.8 kB / 387.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01974, allocations: 129.7 kB / 388.1 MB, free: 8.293 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01974, allocations: 0 / 388.1 MB, free: 8.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000301/0.02004, allocations: 208.6 kB / 388.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.02005, allocations: 4 kB / 388.3 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02006, allocations: 4 kB / 388.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.02024, allocations: 55.27 kB / 388.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.02035, allocations: 35.98 kB / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.02192, allocations: 3.531 MB / 391.9 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.022, allocations: 19.89 kB / 391.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.02202, allocations: 7.984 kB / 391.9 MB, free: 4.16 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.0001031/0.02212, allocations: 168.5 kB / 392.1 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.02218, allocations: 19.95 kB / 392.1 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.02246, allocations: 185.5 kB / 392.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.02246, allocations: 4 kB / 392.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02247, allocations: 0 / 392.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.02247, allocations: 4 kB / 392.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.02309, allocations: 0.5382 MB / 392.8 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.02309, allocations: 4 kB / 392.8 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.02319, allocations: 35.98 kB / 392.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.0233, allocations: 47.39 kB / 392.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.02331, allocations: 11.98 kB / 392.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.02479, allocations: 3.524 MB / 396.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02479, allocations: 64 / 396.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.02518, allocations: 496.2 kB / 396.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.02519, allocations: 11.91 kB / 396.9 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.02521, allocations: 15.92 kB / 397 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.02533, allocations: 8 kB / 397 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.02539, allocations: 19.97 kB / 397 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.02539, allocations: 4 kB / 397 MB, free: 14.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.02545, allocations: 147 kB / 397.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02545, allocations: 0 / 397.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.02584, allocations: 75.77 kB / 397.2 MB, free: 14.5 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.0001774/0.02602, allocations: 127.2 kB / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.02642, allocations: 455.4 kB / 397.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.02642, allocations: 0 / 397.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.02663, allocations: 407.3 kB / 398.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.02697, allocations: 11.94 kB / 398.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008204/0.02779, allocations: 457.5 kB / 398.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.027e-05/0.02785, allocations: 80.22 kB / 398.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.0279, allocations: 17.14 kB / 398.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.02794, allocations: 20.5 kB / 398.8 MB, free: 12.81 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02794, allocations: 0 / 398.8 MB, free: 12.81 MB / 378.7 MB Notification: Performance of Templates: time 0.005658/0.0336, allocations: 2.615 MB / 401.4 MB, free: 10.21 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.116672337986529]