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.001055/0.001055, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.00255, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009025/0.0009025, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001258/0.002161, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.026/1.026, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08771/1.114, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2561/0.2561, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02592/0.282, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.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.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 1.152e-06/1.152e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.236e-05, allocations: 3.953 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003275/0.003287, allocations: 3.549 MB / 297.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.004234, allocations: 0.8504 MB / 298.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.004371, allocations: 8 kB / 298.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.004486, allocations: 79.23 kB / 298.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.004653, allocations: 134.7 kB / 298.7 MB, free: 472 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.004853, allocations: 131.7 kB / 298.8 MB, free: 340 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.005271, allocations: 0.5373 MB / 299.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.005481, allocations: 180.3 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.00575, allocations: 353 kB / 299.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.00593, allocations: 167.5 kB / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.005984, allocations: 48 kB / 300.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.006034, allocations: 48 kB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.006084, allocations: 83.69 kB / 300.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.00618, allocations: 147.8 kB / 300.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.006474, allocations: 346.7 kB / 300.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.006485, allocations: 0 / 300.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006485, allocations: 0 / 300.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.006495, allocations: 4 kB / 300.7 MB, free: 14.44 MB / 298.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.0006977/0.007193, allocations: 0.7581 MB / 301.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.007221, allocations: 12.92 kB / 301.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.007291, allocations: 72.89 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.007507, allocations: 210 kB / 301.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.007534, allocations: 37.38 kB / 301.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.007577, allocations: 48.38 kB / 301.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.007908, allocations: 411.9 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.007917, allocations: 192 / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.007938, allocations: 20.38 kB / 302.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.007948, allocations: 15.94 kB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.008082, allocations: 127.9 kB / 302.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.009438, allocations: 1.313 MB / 303.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.009595, allocations: 149.6 kB / 303.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.00968, allocations: 82.55 kB / 303.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.009691, allocations: 4 kB / 303.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.009705, allocations: 30.56 kB / 304 MB, free: 10.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.009707, allocations: 4 kB / 304 MB, free: 10.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001236/0.01094, allocations: 0.8482 MB / 304.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.01097, allocations: 81.11 kB / 304.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.01112, allocations: 249 kB / 305.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.01114, allocations: 29.7 kB / 305.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.01126, allocations: 256 kB / 305.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.01135, allocations: 130.9 kB / 305.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.01142, allocations: 82.09 kB / 305.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.0115, allocations: 334.8 kB / 306 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.01155, allocations: 40.97 kB / 306 MB, free: 8.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.01164, allocations: 149 kB / 306.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.01182, allocations: 235.5 kB / 306.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01183, allocations: 0 / 306.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002381/0.01206, allocations: 256.9 kB / 306.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01208, allocations: 4 kB / 306.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01208, allocations: 4.375 kB / 306.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.01219, allocations: 32.84 kB / 306.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.01251, allocations: 155.8 kB / 306.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.01308, allocations: 1.194 MB / 308 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.01317, allocations: 19.98 kB / 308 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.01318, allocations: 12 kB / 308.1 MB, free: 6.602 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.0001051/0.01329, allocations: 129.8 kB / 308.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.01333, allocations: 28.11 kB / 308.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.01337, allocations: 42.09 kB / 308.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01337, allocations: 7.938 kB / 308.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01337, allocations: 4.031 kB / 308.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01338, allocations: 0 / 308.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.01379, allocations: 409 kB / 308.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01379, allocations: 0 / 308.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.01406, allocations: 123.8 kB / 308.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.01411, allocations: 43.84 kB / 308.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.676e-05/0.01418, allocations: 24.84 kB / 308.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.01419, allocations: 8 kB / 308.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006383/0.01483, allocations: 1.189 MB / 310 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01483, allocations: 0 / 310 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.01511, allocations: 426.6 kB / 310.5 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.01513, allocations: 12 kB / 310.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01525, allocations: 12 kB / 310.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.01529, allocations: 27.95 kB / 310.5 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.0153, allocations: 7.984 kB / 310.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.663e-05/0.01536, allocations: 78.78 kB / 310.6 MB, free: 3.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01536, allocations: 3.938 kB / 310.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01558, allocations: 92 kB / 310.7 MB, free: 3.809 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 8.079e-05/0.01566, allocations: 84.36 kB / 310.8 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.01594, allocations: 306.3 kB / 311.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.01595, allocations: 4.5 kB / 311.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.0161, allocations: 222 kB / 311.3 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.01649, allocations: 0.5297 MB / 311.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.01889, allocations: 0.8451 MB / 312.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.01896, allocations: 113.3 kB / 312.8 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.206e-05/0.01905, allocations: 35 kB / 312.8 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.01918, allocations: 115.4 kB / 312.9 MB, free: 1.371 MB / 298.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01919, allocations: 0 / 312.9 MB, free: 1.371 MB / 298.7 MB Notification: Performance of Templates: time 0.006322/0.02551, allocations: 3.771 MB / 316.7 MB, free: 13.67 MB / 314.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.842409205622971]