Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.002476/0.002476, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002666/0.002666, allocations: 164.8 kB / 24.27 MB, free: 156 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 1.536/1.536, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.4257/0.4257, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.287e-05, allocations: 2.312 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.009236/0.009268, allocations: 3.478 MB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.01212, allocations: 0.8178 MB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.01243, allocations: 12 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.01276, allocations: 75.23 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.01326, allocations: 134.7 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.01384, allocations: 123.8 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009907/0.01483, allocations: 0.5564 MB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/0.01533, allocations: 166.3 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.01597, allocations: 323.3 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.01641, allocations: 171.5 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.01654, allocations: 51.94 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.01667, allocations: 48 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.01685, allocations: 111.6 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.01718, allocations: 179.6 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.0182, allocations: 0.5723 MB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0182, allocations: 0 / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.0182, allocations: 4 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.01821, allocations: 0 / 384 MB, free: 12.07 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002375/0.02059, allocations: 0.8152 MB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.02064, allocations: 12.03 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.02092, allocations: 92.61 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.02159, allocations: 261.8 kB / 385.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.02166, allocations: 37.38 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.02177, allocations: 44.38 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.02322, allocations: 0.5154 MB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.02324, allocations: 192 / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.02331, allocations: 20.38 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.02334, allocations: 19.94 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.02447, allocations: 300.4 kB / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.02876, allocations: 1.72 MB / 387.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.02958, allocations: 245.9 kB / 388 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.03006, allocations: 127.5 kB / 388.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.0301, allocations: 11.94 kB / 388.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.03015, allocations: 41.39 kB / 388.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.415e-06/0.03016, allocations: 0 / 388.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.004425/0.03458, allocations: 1.131 MB / 389.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.03467, allocations: 85.02 kB / 389.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.03526, allocations: 348.2 kB / 389.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.03531, allocations: 29.7 kB / 389.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.03566, allocations: 322.8 kB / 390.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.03585, allocations: 131 kB / 390.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.03607, allocations: 95.73 kB / 390.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004322/0.0365, allocations: 0.5235 MB / 390.9 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.03691, allocations: 96.95 kB / 391 MB, free: 4.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.03753, allocations: 260.5 kB / 391.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.03881, allocations: 383.3 kB / 391.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.03881, allocations: 0 / 391.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001375/0.04019, allocations: 428.2 kB / 392 MB, free: 3.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.04021, allocations: 8 kB / 392 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.04023, allocations: 4 kB / 392 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.04049, allocations: 31.67 kB / 392.1 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.04125, allocations: 123.8 kB / 392.2 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.04356, allocations: 1.842 MB / 394 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.04392, allocations: 16 kB / 394 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.04397, allocations: 15.98 kB / 394 MB, free: 1.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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 0.000366/0.04434, allocations: 212.5 kB / 394.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.04451, allocations: 43.81 kB / 394.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.04464, allocations: 38.05 kB / 394.3 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.04465, allocations: 8.031 kB / 394.3 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.04465, allocations: 0 / 394.3 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.04466, allocations: 4 kB / 394.3 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.04652, allocations: 0.6953 MB / 395 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.04652, allocations: 4 kB / 395 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.04717, allocations: 83.94 kB / 395.1 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.04735, allocations: 43.67 kB / 395.2 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.0474, allocations: 7.984 kB / 395.2 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.04957, allocations: 1.819 MB / 397 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.04957, allocations: 0 / 397 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.05119, allocations: 0.6997 MB / 397.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.05138, allocations: 47.72 kB / 397.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.05145, allocations: 12 kB / 397.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.05186, allocations: 15.98 kB / 397.8 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.05197, allocations: 23.95 kB / 397.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.05201, allocations: 12 kB / 397.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004119/0.05242, allocations: 237.1 kB / 398 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.05242, allocations: 3.938 kB / 398 MB, free: 13.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008685/0.05329, allocations: 96 kB / 398.1 MB, free: 13.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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 0.000214/0.0535, allocations: 103.2 kB / 398.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.05486, allocations: 466.7 kB / 398.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.05487, allocations: 0 / 398.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.05582, allocations: 313.4 kB / 399 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.05663, allocations: 45.17 kB / 399 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.05922, allocations: 0.8556 MB / 399.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.05959, allocations: 207.8 kB / 400.1 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002516/0.05984, allocations: 38.94 kB / 400.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.05996, allocations: 28.5 kB / 400.2 MB, free: 10.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.05997, allocations: 0 / 400.2 MB, free: 10.92 MB / 378.7 MB Notification: Performance of Templates: time 0.01307/0.07304, allocations: 2.962 MB / 403.1 MB, free: 7.996 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.279043281101622]