Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001059/0.001059, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002559, allocations: 449.7 kB / 10.37 MB, free: 324 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.001092/0.001092, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002472, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9159/0.9159, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09857/1.014, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.065e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009606/0.009617, allocations: 6.513 MB / 251.5 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006749/0.01637, allocations: 2.494 MB / 254 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.01663, allocations: 20 kB / 254 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005362/0.02199, allocations: 1.991 MB / 256 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.023, allocations: 0.5547 MB / 256.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005103/0.02811, allocations: 1.268 MB / 257.9 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.02905, allocations: 1.156 MB / 259 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00399/0.03304, allocations: 0.8216 MB / 259.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/0.03375, allocations: 0.7292 MB / 260.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.03423, allocations: 494.7 kB / 261.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.544e-05/0.03432, allocations: 104 kB / 261.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.03493, allocations: 459.2 kB / 261.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-05/0.03503, allocations: 179.4 kB / 261.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.03525, allocations: 319.3 kB / 262.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008674/0.03612, allocations: 1.078 MB / 263.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.03613, allocations: 0 / 263.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03613, allocations: 0 / 263.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.03615, allocations: 0 / 263.2 MB, free: 11.4 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003343/0.03949, allocations: 2.373 MB / 265.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.03952, allocations: 8.625 kB / 265.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.04123, allocations: 0.7457 MB / 266.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.04139, allocations: 248 kB / 266.5 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.04144, allocations: 98.95 kB / 266.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.04155, allocations: 124.4 kB / 266.8 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.04234, allocations: 0.9386 MB / 267.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.04236, allocations: 4.141 kB / 267.7 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.04242, allocations: 52.38 kB / 267.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.04244, allocations: 35.94 kB / 267.8 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.04291, allocations: 440 kB / 268.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.04561, allocations: 2.661 MB / 270.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.04657, allocations: 0.8018 MB / 271.7 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.04677, allocations: 211.8 kB / 271.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.668e-05/0.04685, allocations: 44.97 kB / 271.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.04688, allocations: 47.56 kB / 272 MB, free: 2.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.234e-06/0.04688, allocations: 0 / 272 MB, free: 2.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.001708/0.04859, allocations: 1.261 MB / 273.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.04862, allocations: 68.34 kB / 273.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.04886, allocations: 347 kB / 273.6 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.04891, allocations: 45.7 kB / 273.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.0491, allocations: 460.4 kB / 274.1 MB, free: 128 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.09724/0.1463, allocations: 437.2 kB / 274.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.1465, allocations: 218.9 kB / 274.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.1466, allocations: 374.9 kB / 275.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1468, allocations: 135.3 kB / 275.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.1471, allocations: 434.6 kB / 275.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.1476, allocations: 0.6443 MB / 276.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.1476, allocations: 3 kB / 276.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0009004/0.1485, allocations: 0.741 MB / 277.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1485, allocations: 9.203 kB / 277.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1485, allocations: 6.5 kB / 277.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.1491, allocations: 238.4 kB / 277.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.1497, allocations: 300.4 kB / 277.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1514, allocations: 3.364 MB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.1518, allocations: 127.3 kB / 281.1 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.1518, allocations: 37.72 kB / 281.2 MB, free: 8.898 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (143): * Single equations (assignments): 141 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.152, allocations: 186 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.1521, allocations: 84.45 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.1529, allocations: 0.6769 MB / 282.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1529, allocations: 12.66 kB / 282.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1529, allocations: 8.25 kB / 282.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.1529, allocations: 5.906 kB / 282.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1543, allocations: 1.237 MB / 283.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1543, allocations: 1.906 kB / 283.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.1548, allocations: 206.7 kB / 283.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.1549, allocations: 108.5 kB / 283.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.1554, allocations: 206 kB / 283.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.1554, allocations: 24.7 kB / 283.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.1567, allocations: 3.218 MB / 287.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1567, allocations: 1.156 kB / 287.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.1575, allocations: 0.8786 MB / 288 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.1576, allocations: 21.44 kB / 288 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1578, allocations: 38.42 kB / 288 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.1579, allocations: 84.78 kB / 288.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.1579, allocations: 22.89 kB / 288.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.158, allocations: 131.5 kB / 288.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.158, allocations: 1.375 kB / 288.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007102/0.1587, allocations: 364.6 kB / 288.6 MB, free: 5.512 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_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 (103): * Single equations (assignments): 101 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001986/0.1589, allocations: 157.3 kB / 288.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007967/0.1597, allocations: 0.9053 MB / 289.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/0.1597, allocations: 12.31 kB / 289.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.1601, allocations: 0.5957 MB / 290.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1604, allocations: 143.6 kB / 290.4 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.1675, allocations: 1.815 MB / 292.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.1676, allocations: 196.2 kB / 292.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.1678, allocations: 133.6 kB / 292.6 MB, free: 4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.1681, allocations: 167.9 kB / 292.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1681, allocations: 0 / 292.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of Templates: time 0.01177/0.1798, allocations: 10.86 MB / 303.6 MB, free: 14.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.702860594727099]