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.001555/0.001555, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001726/0.001726, allocations: 205.9 kB / 24.49 MB, free: 4.145 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001525/0.001525, allocations: 39.94 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008536/0.2778, allocations: 6.768 MB / 439.2 MB, free: 120 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.2824, allocations: 2.491 MB / 441.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004323/0.2828, allocations: 23.94 kB / 441.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.2869, allocations: 1.894 MB / 443.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.2883, allocations: 0.5511 MB / 444.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.2909, allocations: 1.334 MB / 445.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2922, allocations: 1.109 MB / 446.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2934, allocations: 0.8385 MB / 447.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.294, allocations: 0.4904 MB / 447.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007611/0.2948, allocations: 0.6225 MB / 448.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.2949, allocations: 100 kB / 448.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008895/0.2958, allocations: 439.7 kB / 449.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.296, allocations: 251 kB / 449.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.2966, allocations: 0.5597 MB / 449.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.2985, allocations: 1.669 MB / 451.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2985, allocations: 0 / 451.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2985, allocations: 4 kB / 451.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.2985, allocations: 4 kB / 451.5 MB, free: 3.699 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.006003/0.3045, allocations: 1.976 MB / 453.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3046, allocations: 16.03 kB / 453.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.3081, allocations: 495.8 kB / 454 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3084, allocations: 256.8 kB / 454.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/0.3085, allocations: 94.95 kB / 454.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3086, allocations: 128.3 kB / 454.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.311, allocations: 1.303 MB / 455.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.3111, allocations: 8 kB / 455.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.3112, allocations: 55.98 kB / 455.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.3112, allocations: 32 kB / 455.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.3137, allocations: 1.181 MB / 457.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006706/0.3204, allocations: 4.028 MB / 461.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.3225, allocations: 1.148 MB / 462.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009156/0.3234, allocations: 468.6 kB / 462.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.3235, allocations: 48.92 kB / 462.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.3236, allocations: 43.56 kB / 462.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.825e-06/0.3236, allocations: 4 kB / 462.8 MB, free: 8.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01/0.3336, allocations: 3.537 MB / 466.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3337, allocations: 90.11 kB / 466.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.3341, allocations: 397.5 kB / 466.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.3342, allocations: 41.7 kB / 466.8 MB, free: 4.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.3345, allocations: 468.6 kB / 467.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.3348, allocations: 448.1 kB / 467.7 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.3351, allocations: 227.5 kB / 468 MB, free: 2.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3353, allocations: 370.8 kB / 468.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.3363, allocations: 439.8 kB / 468.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.3375, allocations: 0.6918 MB / 469.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.3398, allocations: 1.179 MB / 470.6 MB, free: 52 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3398, allocations: 4 kB / 470.6 MB, free: 48 kB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003075/0.3429, allocations: 1.47 MB / 472.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3429, allocations: 8 kB / 472.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3429, allocations: 7.938 kB / 472.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.3435, allocations: 203.8 kB / 472.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.3447, allocations: 287.6 kB / 472.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.3493, allocations: 4.162 MB / 476.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.3501, allocations: 75.91 kB / 476.8 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/0.3502, allocations: 51.98 kB / 476.9 MB, free: 9.551 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.0004153/0.3506, allocations: 269.6 kB / 477.1 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.3508, allocations: 79.52 kB / 477.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002977/0.3537, allocations: 1.327 MB / 478.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3538, allocations: 16 kB / 478.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3538, allocations: 7.938 kB / 478.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3538, allocations: 3.984 kB / 478.6 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.3584, allocations: 2.562 MB / 481.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.3584, allocations: 7.938 kB / 481.1 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/0.3594, allocations: 211.9 kB / 481.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/0.3598, allocations: 165.5 kB / 481.5 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.3599, allocations: 27.98 kB / 481.5 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004039/0.3639, allocations: 3.982 MB / 485.5 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3639, allocations: 3.938 kB / 485.5 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.3676, allocations: 1.869 MB / 487.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.368, allocations: 155.4 kB / 487.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.3681, allocations: 23.98 kB / 487.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.3687, allocations: 60.06 kB / 487.6 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.3689, allocations: 96.75 kB / 487.7 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.369, allocations: 40.05 kB / 487.8 MB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.3693, allocations: 267.2 kB / 488 MB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3693, allocations: 0 / 488 MB, free: 14.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001049/0.3703, allocations: 311.9 kB / 488.3 MB, free: 13.72 MB / 398.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.0002855/0.3706, allocations: 175 kB / 488.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.3734, allocations: 1.387 MB / 489.9 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3734, allocations: 0 / 489.9 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.3749, allocations: 0.8192 MB / 490.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.3754, allocations: 61.5 kB / 490.8 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.3792, allocations: 1.933 MB / 492.7 MB, free: 9.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.3799, allocations: 1.005 MB / 493.7 MB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.3802, allocations: 91.39 kB / 493.8 MB, free: 8.117 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3802, allocations: 4 kB / 493.8 MB, free: 8.113 MB / 398.1 MB Notification: Performance of Templates: time 0.02448/0.4047, allocations: 20.23 MB / 0.502 GB, free: 3.883 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 -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: 7.797538485145196]