Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.002562/0.002562, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002915/0.002915, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2143/0.2143, allocations: 32.37 MB / 270 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.741e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005746/0.005783, allocations: 3.355 MB / 350.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.008089, allocations: 0.8148 MB / 351.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.00841, allocations: 11.94 kB / 351.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.008679, allocations: 79.22 kB / 351.2 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.009023, allocations: 134.7 kB / 351.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.009499, allocations: 123.8 kB / 351.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.01005, allocations: 0.541 MB / 352 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.01042, allocations: 166.3 kB / 352.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.01085, allocations: 331.3 kB / 352.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.01113, allocations: 171.5 kB / 352.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.01122, allocations: 52 kB / 352.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.01132, allocations: 48 kB / 352.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.01142, allocations: 111.6 kB / 352.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.01162, allocations: 175.6 kB / 353 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007103/0.01233, allocations: 0.5762 MB / 353.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.01234, allocations: 0 / 353.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.01234, allocations: 0 / 353.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.01235, allocations: 0 / 353.6 MB, free: 3.129 MB / 282.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.001547/0.01389, allocations: 0.8153 MB / 354.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.01395, allocations: 12.03 kB / 354.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.01415, allocations: 96.61 kB / 354.5 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.01464, allocations: 269.7 kB / 354.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.01468, allocations: 37.38 kB / 354.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.01477, allocations: 56.3 kB / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/0.01568, allocations: 0.5154 MB / 355.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.0157, allocations: 192 / 355.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/0.01576, allocations: 20.38 kB / 355.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.01577, allocations: 15.94 kB / 355.4 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.01653, allocations: 300.4 kB / 355.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.01996, allocations: 1.724 MB / 357.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007672/0.02073, allocations: 245.6 kB / 357.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.02119, allocations: 127.3 kB / 357.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.02124, allocations: 8.156 kB / 357.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.0213, allocations: 45.33 kB / 357.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.344e-06/0.02131, allocations: 0 / 357.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.004104/0.02541, allocations: 1.123 MB / 359 MB, free: 13.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.0255, allocations: 81.11 kB / 359 MB, free: 13.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.02608, allocations: 352.2 kB / 359.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.02612, allocations: 33.7 kB / 359.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.02646, allocations: 322.8 kB / 359.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.02665, allocations: 135 kB / 359.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.02683, allocations: 83.86 kB / 359.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004015/0.02724, allocations: 0.5274 MB / 360.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.02761, allocations: 100.9 kB / 360.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.02819, allocations: 252.5 kB / 360.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.02921, allocations: 390.7 kB / 361.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02921, allocations: 4 kB / 361.2 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001343/0.03055, allocations: 420.7 kB / 361.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.03059, allocations: 11.98 kB / 361.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.0306, allocations: 384 / 361.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.0309, allocations: 43.67 kB / 361.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.03161, allocations: 115.8 kB / 361.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.0341, allocations: 1.838 MB / 363.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.03448, allocations: 20.03 kB / 363.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.03453, allocations: 16 kB / 363.7 MB, free: 8.414 MB / 298.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.000458/0.03499, allocations: 216.4 kB / 363.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.03514, allocations: 39.81 kB / 363.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.03527, allocations: 42.05 kB / 363.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.03528, allocations: 4 kB / 364 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.03529, allocations: 0 / 364 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.03529, allocations: 0 / 364 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.03717, allocations: 0.7007 MB / 364.7 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.03718, allocations: 8.078 kB / 364.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.03782, allocations: 83.94 kB / 364.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.03801, allocations: 39.59 kB / 364.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.03804, allocations: 8 kB / 364.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.04021, allocations: 1.83 MB / 366.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.04021, allocations: 0 / 366.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.04181, allocations: 0.688 MB / 367.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.04198, allocations: 47.72 kB / 367.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.04205, allocations: 12.03 kB / 367.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.04243, allocations: 15.98 kB / 367.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.04254, allocations: 23.95 kB / 367.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.04259, allocations: 16 kB / 367.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003944/0.04298, allocations: 233.1 kB / 367.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04298, allocations: 0 / 367.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000887/0.04387, allocations: 92 kB / 367.7 MB, free: 4.109 MB / 298.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.0002341/0.0441, allocations: 111.1 kB / 367.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.04549, allocations: 466.1 kB / 368.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.0455, allocations: 0 / 368.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.04617, allocations: 306.2 kB / 368.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.04694, allocations: 48.64 kB / 368.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.04943, allocations: 0.8511 MB / 369.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.04978, allocations: 215.7 kB / 369.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.05, allocations: 34.95 kB / 369.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.05012, allocations: 32.48 kB / 369.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.05012, allocations: 0 / 369.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of Templates: time 0.0124/0.06251, allocations: 2.879 MB / 372.7 MB, free: 15.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.081913834088482]