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.001369/0.001369, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001419/0.001419, allocations: 214.2 kB / 24.48 MB, free: 3.934 MB / 14.72 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.463/1.463, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 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 0.001952/0.001952, allocations: 63.89 kB / 379 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2631, allocations: 53.41 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008318/0.2714, allocations: 5.935 MB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004548/0.276, allocations: 2.327 MB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.2764, allocations: 20 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004174/0.2806, allocations: 1.749 MB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.2821, allocations: 0.5394 MB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.2849, allocations: 1.255 MB / 444.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2864, allocations: 1.117 MB / 445.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.2877, allocations: 0.8203 MB / 446.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.2884, allocations: 498.2 kB / 446.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.289, allocations: 0.5444 MB / 447.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.2892, allocations: 100 kB / 447.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009204/0.2901, allocations: 427.7 kB / 447.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.2903, allocations: 255 kB / 448 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.2908, allocations: 457.8 kB / 448.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.2928, allocations: 1.677 MB / 450.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2928, allocations: 0 / 450.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2928, allocations: 3.938 kB / 450.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2928, allocations: 0 / 450.1 MB, free: 4.75 MB / 350.1 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.005977/0.2988, allocations: 1.983 MB / 452.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2988, allocations: 11.98 kB / 452.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.3022, allocations: 491.8 kB / 452.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3025, allocations: 256.8 kB / 452.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.3026, allocations: 94.95 kB / 452.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.3028, allocations: 132.3 kB / 453 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.3052, allocations: 1.336 MB / 454.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.3053, allocations: 4 kB / 454.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.3054, allocations: 51.94 kB / 454.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.3054, allocations: 32 kB / 454.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.308, allocations: 1.185 MB / 455.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/0.3143, allocations: 3.337 MB / 459 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.3164, allocations: 1.135 MB / 460.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009154/0.3173, allocations: 456 kB / 460.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.3175, allocations: 44.91 kB / 460.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.3175, allocations: 47.56 kB / 460.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.715e-06/0.3175, allocations: 0 / 460.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01017/0.3277, allocations: 3.532 MB / 464.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.793e-05/0.3278, allocations: 90.11 kB / 464.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.3282, allocations: 393.3 kB / 464.7 MB, free: 5.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.3283, allocations: 45.7 kB / 464.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.3286, allocations: 472.5 kB / 465.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.329, allocations: 440.2 kB / 465.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.3293, allocations: 235.5 kB / 465.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3295, allocations: 378.7 kB / 466.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.3305, allocations: 431.8 kB / 466.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.3318, allocations: 0.7208 MB / 467.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.3342, allocations: 1.175 MB / 468.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.3342, allocations: 4 kB / 468.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003057/0.3373, allocations: 1.459 MB / 470 MB, free: 344 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3373, allocations: 11.94 kB / 470 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3373, allocations: 4 kB / 470 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005165/0.3378, allocations: 193.6 kB / 470.2 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.339, allocations: 295.5 kB / 470.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004527/0.3436, allocations: 4.06 MB / 474.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/0.3444, allocations: 83.95 kB / 474.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/0.3445, allocations: 55.98 kB / 474.7 MB, free: 11.44 MB / 382.1 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.0004606/0.345, allocations: 265.5 kB / 474.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3451, allocations: 67.58 kB / 475 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.3482, allocations: 1.331 MB / 476.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3482, allocations: 12 kB / 476.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3482, allocations: 4 kB / 476.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.3482, allocations: 7.969 kB / 476.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.3527, allocations: 2.189 MB / 478.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3528, allocations: 3.984 kB / 478.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/0.3537, allocations: 211.9 kB / 478.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.3542, allocations: 161.6 kB / 478.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.3542, allocations: 27.98 kB / 478.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.3583, allocations: 3.893 MB / 482.8 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3583, allocations: 0 / 482.8 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.3624, allocations: 1.873 MB / 484.7 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.3628, allocations: 151.5 kB / 484.9 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.3629, allocations: 23.94 kB / 484.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.3636, allocations: 63.95 kB / 484.9 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.3638, allocations: 100.8 kB / 485 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.3638, allocations: 35.98 kB / 485.1 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.3642, allocations: 255.2 kB / 485.3 MB, free: 488 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3642, allocations: 0 / 485.3 MB, free: 488 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001162/0.3653, allocations: 303.9 kB / 485.6 MB, free: 184 kB / 382.1 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.0003621/0.3657, allocations: 179 kB / 485.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.3687, allocations: 1.386 MB / 487.2 MB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3687, allocations: 5.312 kB / 487.2 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.3703, allocations: 0.8113 MB / 488 MB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.3709, allocations: 73.42 kB / 488.1 MB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.375, allocations: 1.925 MB / 490 MB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.3755, allocations: 416.3 kB / 490.4 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.3758, allocations: 95.39 kB / 490.5 MB, free: 11.17 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3758, allocations: 0 / 490.5 MB, free: 11.17 MB / 398.1 MB Notification: Performance of Templates: time 0.02824/0.4041, allocations: 20.57 MB / 0.4991 GB, free: 6.582 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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: 8.452985162846744]