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.001586/0.001586, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001528/0.001528, allocations: 160.9 kB / 24.27 MB, free: 148 kB / 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.508/1.508, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.558e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008825/0.008851, allocations: 5.949 MB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.01351, allocations: 2.331 MB / 280.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.01394, allocations: 20 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004476/0.01841, allocations: 1.839 MB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.0199, allocations: 0.5509 MB / 282.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.02269, allocations: 1.253 MB / 284.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.02441, allocations: 1.155 MB / 285.3 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.02575, allocations: 0.8291 MB / 286.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000943/0.02669, allocations: 0.7015 MB / 286.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006788/0.02737, allocations: 474.6 kB / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.02752, allocations: 104 kB / 287.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009143/0.02844, allocations: 431.3 kB / 287.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.02868, allocations: 251 kB / 288.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.02914, allocations: 390.9 kB / 288.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1119/0.141, allocations: 1.716 MB / 290.2 MB, free: 17.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.141, allocations: 0.9375 kB / 290.2 MB, free: 17.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.141, allocations: 0 / 290.2 MB, free: 17.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.165e-05/0.1411, allocations: 0 / 290.2 MB, free: 17.59 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.006215/0.1473, allocations: 1.967 MB / 292.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1473, allocations: 13.64 kB / 292.2 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.151, allocations: 0.7122 MB / 292.9 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.1513, allocations: 249.6 kB / 293.1 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/0.1514, allocations: 94.45 kB / 293.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.1516, allocations: 134.8 kB / 293.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.1542, allocations: 1.325 MB / 294.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.1542, allocations: 3.938 kB / 294.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.1544, allocations: 53.56 kB / 294.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.1544, allocations: 35.78 kB / 294.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.1568, allocations: 1.177 MB / 295.9 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005893/0.1627, allocations: 3.387 MB / 299.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.1646, allocations: 1.137 MB / 300.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/0.1654, allocations: 461.7 kB / 300.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.1655, allocations: 45.88 kB / 300.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1656, allocations: 49.53 kB / 301 MB, free: 14.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.926e-06/0.1656, allocations: 0 / 301 MB, free: 14.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.009813/0.1754, allocations: 3.591 MB / 304.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1754, allocations: 91.55 kB / 304.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.1758, allocations: 385.8 kB / 305.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.1758, allocations: 46.55 kB / 305.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.176, allocations: 469.6 kB / 305.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.1762, allocations: 437.2 kB / 306 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.1765, allocations: 234.5 kB / 306.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.1765, allocations: 372.7 kB / 306.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008963/0.1774, allocations: 428.7 kB / 307 MB, free: 11.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.1784, allocations: 0.7213 MB / 307.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.1804, allocations: 1.175 MB / 308.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1804, allocations: 3.344 kB / 308.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002745/0.1831, allocations: 1.518 MB / 310.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1832, allocations: 8 kB / 310.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1832, allocations: 10.52 kB / 310.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.1843, allocations: 284 kB / 310.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.1854, allocations: 289.3 kB / 311 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.1885, allocations: 4.088 MB / 315.1 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00094/0.1894, allocations: 86.55 kB / 315.2 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.1895, allocations: 56.05 kB / 315.2 MB, free: 4.215 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.0003666/0.1899, allocations: 268 kB / 315.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.1901, allocations: 107.6 kB / 315.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.1927, allocations: 1.326 MB / 316.9 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1927, allocations: 12 kB / 316.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1927, allocations: 6.938 kB / 316.9 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.1928, allocations: 7.969 kB / 316.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.1967, allocations: 2.195 MB / 319.1 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1967, allocations: 0 / 319.1 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/0.1976, allocations: 212.2 kB / 319.3 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.1987, allocations: 253.7 kB / 319.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/0.1988, allocations: 27.98 kB / 319.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/0.2039, allocations: 3.909 MB / 323.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2039, allocations: 0 / 323.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/0.2085, allocations: 1.907 MB / 325.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.2091, allocations: 154.5 kB / 325.6 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2092, allocations: 24 kB / 325.6 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.2099, allocations: 55.95 kB / 325.7 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.2101, allocations: 96.56 kB / 325.8 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.2102, allocations: 35.98 kB / 325.8 MB, free: 9.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003357/0.2105, allocations: 259.1 kB / 326 MB, free: 9.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2105, allocations: 64 / 326 MB, free: 9.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001209/0.2117, allocations: 312 kB / 326.3 MB, free: 8.945 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.0003495/0.2121, allocations: 171.3 kB / 326.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003253/0.2153, allocations: 1.385 MB / 327.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2153, allocations: 4.062 kB / 327.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.217, allocations: 0.8177 MB / 328.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.2179, allocations: 76.58 kB / 328.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.2222, allocations: 1.864 MB / 330.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.2227, allocations: 420.1 kB / 331.1 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.2233, allocations: 146.6 kB / 331.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.2236, allocations: 76.47 kB / 331.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2236, allocations: 0 / 331.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of Templates: time 0.02158/0.2452, allocations: 10.3 MB / 341.6 MB, free: 9.855 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 4.8891220189398155]