Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 210.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1996, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008096/0.2077, allocations: 5.943 MB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004021/0.2117, allocations: 2.32 MB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.212, allocations: 24 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.216, allocations: 1.742 MB / 442.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.2171, allocations: 0.5433 MB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.2196, allocations: 1.255 MB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.2208, allocations: 1.113 MB / 445.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.2219, allocations: 0.836 MB / 446.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.2225, allocations: 0.4904 MB / 446.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.2232, allocations: 0.6225 MB / 447.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.2233, allocations: 100 kB / 447.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.224, allocations: 439.6 kB / 447.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.2242, allocations: 251 kB / 448 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.2247, allocations: 465.8 kB / 448.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.2264, allocations: 1.677 MB / 450.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2264, allocations: 0 / 450.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2264, allocations: 0 / 450.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2264, allocations: 0 / 450.1 MB, free: 4.859 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.006472/0.2329, allocations: 1.983 MB / 452.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2329, allocations: 8.031 kB / 452.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.2368, allocations: 491.8 kB / 452.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.2371, allocations: 260.8 kB / 452.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.2372, allocations: 94.95 kB / 453 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.2374, allocations: 136.3 kB / 453.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.24, allocations: 1.325 MB / 454.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.24, allocations: 0 / 454.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.2401, allocations: 52 kB / 454.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.2401, allocations: 32 kB / 454.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.2428, allocations: 1.185 MB / 455.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006374/0.2491, allocations: 3.341 MB / 459 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.2513, allocations: 1.145 MB / 460.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009409/0.2522, allocations: 456.6 kB / 460.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.2524, allocations: 44.89 kB / 460.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2524, allocations: 43.56 kB / 460.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.836e-06/0.2524, allocations: 4 kB / 460.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01063/0.263, allocations: 3.532 MB / 464.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.2631, allocations: 90.11 kB / 464.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.2636, allocations: 393.3 kB / 464.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.2636, allocations: 49.64 kB / 464.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.2639, allocations: 476.5 kB / 465.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/0.2643, allocations: 444.2 kB / 465.7 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.2647, allocations: 235.5 kB / 465.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2648, allocations: 366.8 kB / 466.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.2659, allocations: 431.8 kB / 466.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.2672, allocations: 0.7169 MB / 467.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.2697, allocations: 1.175 MB / 468.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2697, allocations: 0 / 468.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003192/0.2729, allocations: 1.459 MB / 470 MB, free: 460 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2729, allocations: 19.88 kB / 470 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.2729, allocations: 8 kB / 470.1 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.2734, allocations: 193.6 kB / 470.2 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.2748, allocations: 283.6 kB / 470.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.2792, allocations: 4.068 MB / 474.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.2801, allocations: 83.83 kB / 474.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.2802, allocations: 55.98 kB / 474.7 MB, free: 11.55 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.0004036/0.2806, allocations: 269.4 kB / 475 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.2807, allocations: 71.64 kB / 475.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.284, allocations: 1.316 MB / 476.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.284, allocations: 12 kB / 476.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.284, allocations: 7.938 kB / 476.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.284, allocations: 3.984 kB / 476.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.2886, allocations: 2.193 MB / 478.6 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2886, allocations: 4.125 kB / 478.6 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.2897, allocations: 211.7 kB / 478.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.2902, allocations: 173.5 kB / 479 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.2902, allocations: 27.98 kB / 479 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.2943, allocations: 3.885 MB / 482.9 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2943, allocations: 8.047 kB / 482.9 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.2983, allocations: 1.869 MB / 484.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.2987, allocations: 147.5 kB / 484.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2988, allocations: 27.98 kB / 484.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.2995, allocations: 55.95 kB / 485 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.2997, allocations: 96.75 kB / 485.1 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/0.2998, allocations: 39.98 kB / 485.1 MB, free: 0.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.3001, allocations: 251.2 kB / 485.4 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3001, allocations: 4.062 kB / 485.4 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001096/0.3012, allocations: 307.9 kB / 485.7 MB, free: 292 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.0002897/0.3015, allocations: 178.9 kB / 485.8 MB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.3044, allocations: 1.395 MB / 487.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3044, allocations: 0 / 487.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.306, allocations: 0.8115 MB / 488 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.3065, allocations: 73.55 kB / 488.1 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.3106, allocations: 1.878 MB / 490 MB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.311, allocations: 416.3 kB / 490.4 MB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005704/0.3116, allocations: 138.6 kB / 490.5 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.3118, allocations: 79.39 kB / 490.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3118, allocations: 4 kB / 490.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of Templates: time 0.02146/0.3333, allocations: 11.81 MB / 0.4907 GB, free: 15.51 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.7118795169953955]