Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001121/0.001121, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002691, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001138/0.001138, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.00258, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9654/0.9654, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09071/1.056, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.632e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006051/0.006077, allocations: 6.377 MB / 250.9 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.00983, allocations: 2.635 MB / 253.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.01037, allocations: 23.94 kB / 253.5 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.0119, allocations: 1.349 MB / 254.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.01314, allocations: 0.5314 MB / 255.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.01449, allocations: 1.216 MB / 256.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009745/0.01547, allocations: 1.117 MB / 257.8 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.0163, allocations: 0.7663 MB / 258.5 MB, free: 236 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006726/0.01698, allocations: 0.7007 MB / 259.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.01742, allocations: 426.8 kB / 259.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.01752, allocations: 96 kB / 259.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.0183, allocations: 419.3 kB / 260.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.01843, allocations: 171.4 kB / 260.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.0187, allocations: 295.4 kB / 260.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.01991, allocations: 1 MB / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.01992, allocations: 4 kB / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01993, allocations: 4 kB / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.01994, allocations: 0 / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.002594/0.02254, allocations: 1.925 MB / 263.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.02257, allocations: 15.98 kB / 263.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.02418, allocations: 0.6679 MB / 264.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.02461, allocations: 312.8 kB / 264.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.02466, allocations: 82.59 kB / 264.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.02476, allocations: 116.1 kB / 264.7 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.02544, allocations: 0.705 MB / 265.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.02546, allocations: 11.94 kB / 265.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.02551, allocations: 44 kB / 265.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.02553, allocations: 28 kB / 265.5 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.02596, allocations: 372.2 kB / 265.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.02891, allocations: 2.323 MB / 268.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.02957, allocations: 0.5942 MB / 268.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.0298, allocations: 216.4 kB / 269 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.02988, allocations: 44.97 kB / 269 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/0.03022, allocations: 405.6 kB / 269.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.345e-06/0.03022, allocations: 0 / 269.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003336/0.03356, allocations: 2.176 MB / 271.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.0336, allocations: 86.11 kB / 271.7 MB, free: 2.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.0338, allocations: 347.1 kB / 272 MB, free: 2.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.03384, allocations: 49.69 kB / 272.1 MB, free: 2.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.03401, allocations: 409.2 kB / 272.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.03417, allocations: 360.8 kB / 272.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.03434, allocations: 186.8 kB / 273 MB, free: 1.328 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.03444, allocations: 378.6 kB / 273.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.03456, allocations: 110.5 kB / 273.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.0348, allocations: 359.4 kB / 273.9 MB, free: 424 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1146/0.1494, allocations: 0.4913 MB / 274.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1494, allocations: 1.656 kB / 274.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0009388/0.1503, allocations: 0.6323 MB / 275 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1503, allocations: 7.188 kB / 275 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1503, allocations: 4.969 kB / 275 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/0.1509, allocations: 208.8 kB / 275.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.1514, allocations: 244.7 kB / 275.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.1536, allocations: 4.499 MB / 279.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.1539, allocations: 39.34 kB / 280 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.154, allocations: 28.44 kB / 280 MB, free: 9.824 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.1542, allocations: 178.1 kB / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1543, allocations: 74.88 kB / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009505/0.1552, allocations: 0.5961 MB / 280.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1552, allocations: 10.19 kB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1552, allocations: 4.5 kB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.1553, allocations: 9.062 kB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.157, allocations: 1.078 MB / 281.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.157, allocations: 2.172 kB / 281.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.1575, allocations: 175.5 kB / 282.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.1577, allocations: 78.28 kB / 282.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005268/0.1583, allocations: 208.6 kB / 282.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.1583, allocations: 21.69 kB / 282.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.1606, allocations: 4.507 MB / 286.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1606, allocations: 5.375 kB / 286.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1616, allocations: 0.8178 MB / 287.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.1617, allocations: 20.73 kB / 287.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.162, allocations: 29.91 kB / 287.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.1621, allocations: 86.52 kB / 287.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.1622, allocations: 20.94 kB / 287.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1623, allocations: 138.8 kB / 288 MB, free: 5.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1623, allocations: 0 / 288 MB, free: 5.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009412/0.1632, allocations: 267.9 kB / 288.3 MB, free: 5.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/0.1635, allocations: 162.6 kB / 288.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1645, allocations: 0.9175 MB / 289.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.496e-05/0.1645, allocations: 10.09 kB / 289.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.1652, allocations: 0.7166 MB / 290.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1655, allocations: 126.3 kB / 290.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/0.1741, allocations: 1.68 MB / 291.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.1743, allocations: 195.5 kB / 292.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.1747, allocations: 96.53 kB / 292.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.1749, allocations: 143.2 kB / 292.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1749, allocations: 1.203 kB / 292.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of Templates: time 0.01528/0.1902, allocations: 10.04 MB / 302.4 MB, free: 15.65 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.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.8721366161480546]