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.0008976/0.0008976, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003481/0.003481, allocations: 158.5 kB / 24.7 MB, free: 9.441 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 0.9496/0.9496, allocations: 177 MB / 204.9 MB, free: 5.758 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.753e-06/1.753e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.018e-05, allocations: 6.844 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005743/0.005773, allocations: 5.948 MB / 331.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.009791, allocations: 2.327 MB / 334.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008887/0.01068, allocations: 24 kB / 334.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.01292, allocations: 1.85 MB / 335.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.01441, allocations: 0.547 MB / 336.5 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.01603, allocations: 1.259 MB / 337.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.01781, allocations: 1.155 MB / 338.9 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.01898, allocations: 0.833 MB / 339.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.01978, allocations: 0.6937 MB / 340.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.02027, allocations: 490.6 kB / 340.9 MB, free: 208 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.02039, allocations: 100 kB / 341 MB, free: 108 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008506/0.02124, allocations: 423.5 kB / 341.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.02136, allocations: 251 kB / 341.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.02163, allocations: 387 kB / 342 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.02323, allocations: 1.725 MB / 343.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.02324, allocations: 0 / 343.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02324, allocations: 0 / 343.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.533e-05/0.02327, allocations: 4 kB / 343.8 MB, free: 13.33 MB / 314.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.004151/0.02742, allocations: 1.964 MB / 345.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.02747, allocations: 11.98 kB / 345.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.02916, allocations: 499.8 kB / 346.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.02944, allocations: 256 kB / 346.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.02951, allocations: 94.95 kB / 346.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.0297, allocations: 132.3 kB / 346.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.03141, allocations: 1.325 MB / 348 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.03144, allocations: 4.188 kB / 348 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.03151, allocations: 48.38 kB / 348.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.03153, allocations: 35.94 kB / 348.1 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.03311, allocations: 1.185 MB / 349.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.03754, allocations: 3.336 MB / 352.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.03886, allocations: 1.143 MB / 353.8 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006229/0.03949, allocations: 455.4 kB / 354.2 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.03963, allocations: 44.95 kB / 354.3 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.03967, allocations: 43.56 kB / 354.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 8.315e-06/0.03968, allocations: 0 / 354.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.006124/0.0458, allocations: 3.537 MB / 357.9 MB, free: 15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.04586, allocations: 90.11 kB / 357.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.04619, allocations: 393.3 kB / 358.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.04624, allocations: 49.7 kB / 358.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.04645, allocations: 468.5 kB / 358.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.04667, allocations: 440.1 kB / 359.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.0469, allocations: 231.5 kB / 359.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004124/0.04731, allocations: 366.8 kB / 359.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.0479, allocations: 439.8 kB / 360.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/0.04861, allocations: 0.7169 MB / 361 MB, free: 11.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.04997, allocations: 1.179 MB / 362.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.04997, allocations: 0 / 362.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.001927/0.0519, allocations: 1.463 MB / 363.6 MB, free: 8.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.05193, allocations: 8 kB / 363.6 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.05195, allocations: 11.98 kB / 363.7 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.05238, allocations: 197.6 kB / 363.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.05302, allocations: 295.5 kB / 364.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.05661, allocations: 4.071 MB / 368.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.05716, allocations: 71.94 kB / 368.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.05722, allocations: 55.98 kB / 368.3 MB, free: 4.043 MB / 330.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.0004179/0.05764, allocations: 269.5 kB / 368.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.05773, allocations: 71.53 kB / 368.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.05958, allocations: 1.327 MB / 370 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.0596, allocations: 12 kB / 370 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.0596, allocations: 4 kB / 370 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.05961, allocations: 7.984 kB / 370 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.06251, allocations: 2.174 MB / 372.2 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.06252, allocations: 8.031 kB / 372.2 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.06302, allocations: 211.7 kB / 372.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/0.06332, allocations: 169.5 kB / 372.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.06337, allocations: 27.98 kB / 372.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.06645, allocations: 3.894 MB / 376.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.06645, allocations: 4 kB / 376.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.06876, allocations: 1.861 MB / 378.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.06902, allocations: 147.5 kB / 378.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.06908, allocations: 24 kB / 378.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.06939, allocations: 59.94 kB / 378.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.06954, allocations: 96.75 kB / 378.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.06958, allocations: 43.92 kB / 378.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.06978, allocations: 255.2 kB / 379 MB, free: 9.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06978, allocations: 4 kB / 379 MB, free: 9.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008039/0.07058, allocations: 303.9 kB / 379.3 MB, free: 8.781 MB / 346.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.0002596/0.07084, allocations: 171 kB / 379.4 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.07264, allocations: 1.384 MB / 380.8 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.07264, allocations: 3.938 kB / 380.8 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.07379, allocations: 0.8192 MB / 381.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.07415, allocations: 76.44 kB / 381.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.07675, allocations: 1.864 MB / 383.6 MB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.07705, allocations: 416.3 kB / 384 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.0773, allocations: 96.45 kB / 384.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of SimCode: time 1.653e-06/0.0773, allocations: 0 / 384.1 MB, free: 3.828 MB / 346.7 MB Notification: Performance of Templates: time 0.01887/0.09618, allocations: 20.58 MB / 404.7 MB, free: 15.24 MB / 378.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.86672498844564]