Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001314/0.001314, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001642/0.001642, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 72.75 kB / 379.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2441, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005012/0.2492, allocations: 3.563 MB / 436 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2508, allocations: 0.9736 MB / 436.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.251, allocations: 11.94 kB / 437 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.2513, allocations: 95.09 kB / 437.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.2516, allocations: 170.7 kB / 437.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.252, allocations: 167.7 kB / 437.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006714/0.2526, allocations: 0.6387 MB / 438 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.2529, allocations: 136 kB / 438.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.2532, allocations: 255.1 kB / 438.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.2536, allocations: 274.7 kB / 438.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.2536, allocations: 52 kB / 438.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.2537, allocations: 52 kB / 438.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2538, allocations: 123.5 kB / 438.9 MB, free: 472 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.2541, allocations: 282.5 kB / 439.2 MB, free: 188 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.2548, allocations: 0.6414 MB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2548, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2548, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2548, allocations: 0 / 439.8 MB, free: 15.54 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001615/0.2564, allocations: 0.8011 MB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2564, allocations: 8.031 kB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2566, allocations: 68.52 kB / 440.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.2571, allocations: 294.1 kB / 441 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.2571, allocations: 37.69 kB / 441 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.2572, allocations: 56.38 kB / 441.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.2581, allocations: 438.4 kB / 441.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2582, allocations: 4 kB / 441.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.2582, allocations: 20 kB / 441.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.2582, allocations: 12 kB / 441.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.2592, allocations: 393 kB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.2618, allocations: 1.509 MB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.2625, allocations: 304.3 kB / 443.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.2629, allocations: 164.1 kB / 443.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.263, allocations: 4.328 kB / 443.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.263, allocations: 34.89 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.263, allocations: 4 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003361/0.2664, allocations: 1.199 MB / 445.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2664, allocations: 55.91 kB / 445.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.2669, allocations: 417.5 kB / 445.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2669, allocations: 33.7 kB / 445.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.2672, allocations: 312.7 kB / 445.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.2673, allocations: 198.4 kB / 446.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.2675, allocations: 110.2 kB / 446.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2677, allocations: 366.7 kB / 446.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.2681, allocations: 173.2 kB / 446.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.2687, allocations: 303 kB / 447 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.2697, allocations: 500 kB / 447.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2697, allocations: 0 / 447.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001535/0.2712, allocations: 0.7444 MB / 448.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2712, allocations: 8 kB / 448.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2713, allocations: 4 kB / 448.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.2718, allocations: 177.7 kB / 448.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.2723, allocations: 115.8 kB / 448.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/0.2769, allocations: 4.081 MB / 452.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.2773, allocations: 31.94 kB / 452.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.2773, allocations: 24 kB / 452.7 MB, free: 2.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * 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.0002304/0.2776, allocations: 177.8 kB / 452.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.2776, allocations: 47.78 kB / 452.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.2778, allocations: 65.02 kB / 453 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2778, allocations: 4 kB / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.2778, allocations: 4 kB / 453 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2778, allocations: 11.92 kB / 453 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.2803, allocations: 1.264 MB / 454.3 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2803, allocations: 0 / 454.3 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.2806, allocations: 67.89 kB / 454.3 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.281, allocations: 169.6 kB / 454.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.281, allocations: 12 kB / 454.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004364/0.2854, allocations: 3.888 MB / 458.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2854, allocations: 0 / 458.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.2868, allocations: 0.7041 MB / 459.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.2869, allocations: 55.59 kB / 459.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.2869, allocations: 12 kB / 459.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.2872, allocations: 15.98 kB / 459.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2873, allocations: 48.34 kB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.2874, allocations: 16 kB / 459.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.2877, allocations: 283.2 kB / 459.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2877, allocations: 4 kB / 459.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007007/0.2884, allocations: 152 kB / 459.7 MB, free: 10.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.0001292/0.2885, allocations: 107.2 kB / 459.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.2901, allocations: 0.7696 MB / 460.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2901, allocations: 4.125 kB / 460.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008649/0.291, allocations: 0.5035 MB / 461.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2914, allocations: 59.5 kB / 461.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2933, allocations: 0.9632 MB / 462.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.2938, allocations: 0.8592 MB / 462.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.294, allocations: 44.36 kB / 463 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.2941, allocations: 35.42 kB / 463 MB, free: 7.277 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2941, allocations: 0 / 463 MB, free: 7.277 MB / 366.1 MB Notification: Performance of Templates: time 0.0119/0.306, allocations: 5.579 MB / 468.6 MB, free: 1.707 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.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.5478722881525755]