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.001349/0.001349, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001651/0.001651, allocations: 165.4 kB / 24.82 MB, free: 9.312 MB / 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.027/1.027, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.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.383e-06/1.383e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.689e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008733/0.00875, allocations: 6.408 MB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.01131, allocations: 2.374 MB / 282.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.01158, allocations: 24 kB / 282.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.01344, allocations: 1.932 MB / 284.1 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007853/0.01423, allocations: 0.5547 MB / 284.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.01549, allocations: 1.253 MB / 285.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.01628, allocations: 1.159 MB / 287.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.01706, allocations: 0.8252 MB / 287.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.01761, allocations: 0.6976 MB / 288.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.01798, allocations: 498.6 kB / 289.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.46e-05/0.01808, allocations: 100 kB / 289.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.0186, allocations: 423.3 kB / 289.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.01872, allocations: 255 kB / 289.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.01895, allocations: 391 kB / 290.2 MB, free: 276 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1029/0.1218, allocations: 1.185 MB / 291.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1218, allocations: 1.094 kB / 291.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1218, allocations: 0 / 291.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.1219, allocations: 0 / 291.4 MB, free: 16.79 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.003631/0.1255, allocations: 2.096 MB / 293.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1255, allocations: 14.97 kB / 293.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.1275, allocations: 0.7101 MB / 294.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1277, allocations: 248.6 kB / 294.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.1278, allocations: 98.42 kB / 294.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.1279, allocations: 131.5 kB / 294.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1291, allocations: 0.9504 MB / 295.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.1291, allocations: 1.734 kB / 295.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.1292, allocations: 56.75 kB / 295.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.1292, allocations: 35.12 kB / 295.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/0.13, allocations: 0.5102 MB / 296.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.1338, allocations: 3.275 MB / 299.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.1347, allocations: 0.9032 MB / 300.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.135, allocations: 249.6 kB / 300.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-05/0.1351, allocations: 60.83 kB / 300.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1351, allocations: 48.08 kB / 300.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.876e-06/0.1351, allocations: 0 / 300.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.003455/0.1385, allocations: 2.113 MB / 302.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1386, allocations: 94.33 kB / 303 MB, free: 13.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.1389, allocations: 420.9 kB / 303.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.139, allocations: 46.36 kB / 303.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1391, allocations: 0.5026 MB / 303.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1392, allocations: 455.3 kB / 304.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.1394, allocations: 251.1 kB / 304.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.1395, allocations: 0.556 MB / 305.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1397, allocations: 168.9 kB / 305.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.14, allocations: 0.5586 MB / 305.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.1405, allocations: 0.772 MB / 306.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1406, allocations: 3.625 kB / 306.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.0009119/0.1415, allocations: 0.9848 MB / 307.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1415, allocations: 6.531 kB / 307.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1415, allocations: 9.625 kB / 307.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/0.142, allocations: 256 kB / 307.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.1425, allocations: 267.5 kB / 308.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.1445, allocations: 4.75 MB / 312.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.1449, allocations: 58.02 kB / 313 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.145, allocations: 46.41 kB / 313 MB, free: 6.543 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0002258/0.1452, allocations: 229.9 kB / 313.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1453, allocations: 115.8 kB / 313.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009305/0.1462, allocations: 0.8548 MB / 314.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1462, allocations: 10.22 kB / 314.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1462, allocations: 6.531 kB / 314.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.1463, allocations: 7.969 kB / 314.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.1479, allocations: 1.662 MB / 315.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1479, allocations: 4 kB / 315.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.1483, allocations: 190.2 kB / 316.1 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.1488, allocations: 237.4 kB / 316.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.1488, allocations: 27.98 kB / 316.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.1505, allocations: 4.608 MB / 321 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1505, allocations: 0 / 321 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1516, allocations: 1.139 MB / 322.1 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.1518, allocations: 150.5 kB / 322.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.1519, allocations: 27.94 kB / 322.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1522, allocations: 48 kB / 322.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.1523, allocations: 92.81 kB / 322.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.1523, allocations: 27.98 kB / 322.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1525, allocations: 251.1 kB / 322.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1525, allocations: 3.469 kB / 322.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009336/0.1534, allocations: 300 kB / 323 MB, free: 13.27 MB / 282.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 (106): * Single equations (assignments): 104 * 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.0002485/0.1536, allocations: 191.4 kB / 323.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1547, allocations: 1.083 MB / 324.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1547, allocations: 4 kB / 324.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.1553, allocations: 0.7492 MB / 325 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1556, allocations: 83.38 kB / 325.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.158, allocations: 1.714 MB / 326.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.1582, allocations: 191.8 kB / 327 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003396/0.1585, allocations: 142.7 kB / 327.1 MB, free: 9.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.1588, allocations: 194.2 kB / 327.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1588, allocations: 0 / 327.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of Templates: time 0.01411/0.1729, allocations: 11.34 MB / 338.7 MB, free: 13.79 MB / 298.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 -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: 3.0059142229147255]