Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.002166/0.002166, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002485/0.002485, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.635/1.635, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_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_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 47.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1229, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008061/0.1309, allocations: 3.542 MB / 430.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2062/0.3371, allocations: 0.9646 MB / 431.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.3375, allocations: 10.78 kB / 431.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.3378, allocations: 90.47 kB / 431.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.3382, allocations: 169.3 kB / 431.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3386, allocations: 172.3 kB / 431.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.3392, allocations: 0.6301 MB / 432.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.3394, allocations: 144 kB / 432.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.3397, allocations: 252.5 kB / 432.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.34, allocations: 272.3 kB / 433 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.34, allocations: 52.16 kB / 433.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.3401, allocations: 51.91 kB / 433.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.3402, allocations: 122 kB / 433.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.3404, allocations: 291 kB / 433.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.341, allocations: 0.634 MB / 434.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.341, allocations: 5.25 kB / 434.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.341, allocations: 2.469 kB / 434.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.341, allocations: 0 / 434.2 MB, free: 7.676 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.001466/0.3425, allocations: 0.8692 MB / 435 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3425, allocations: 10.09 kB / 435.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3427, allocations: 67.27 kB / 435.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3431, allocations: 357.4 kB / 435.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.3431, allocations: 41.89 kB / 435.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.3432, allocations: 46.28 kB / 435.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.3441, allocations: 446 kB / 436 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3441, allocations: 0.5 kB / 436 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.3442, allocations: 22.72 kB / 436 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3442, allocations: 12.22 kB / 436 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008962/0.3451, allocations: 388.3 kB / 436.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.3476, allocations: 1.579 MB / 438 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.3483, allocations: 385.3 kB / 438.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.3487, allocations: 161.7 kB / 438.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.3488, allocations: 5.922 kB / 438.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.3488, allocations: 45.08 kB / 438.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.3488, allocations: 1.688 kB / 438.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003402/0.3522, allocations: 1.187 MB / 439.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3522, allocations: 62.42 kB / 439.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.3527, allocations: 413.7 kB / 440.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3527, allocations: 38.8 kB / 440.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3529, allocations: 312.2 kB / 440.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.353, allocations: 193.4 kB / 440.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3531, allocations: 111.4 kB / 440.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.3532, allocations: 356.8 kB / 441.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.3536, allocations: 183.2 kB / 441.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.3541, allocations: 297.4 kB / 441.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3551, allocations: 493.7 kB / 442.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3551, allocations: 1.25 kB / 442.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001461/0.3566, allocations: 0.7355 MB / 442.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3566, allocations: 15.17 kB / 442.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3566, allocations: 3.344 kB / 442.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/0.3572, allocations: 179.1 kB / 443.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.3577, allocations: 113.6 kB / 443.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.3616, allocations: 4.279 MB / 447.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.3621, allocations: 34.34 kB / 447.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.3622, allocations: 23.31 kB / 447.5 MB, free: 15.21 MB / 366.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.0002932/0.3625, allocations: 188.2 kB / 447.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.3625, allocations: 54.62 kB / 447.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.3627, allocations: 60.17 kB / 447.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.3627, allocations: 9.094 kB / 447.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/0.3627, allocations: 8.031 kB / 447.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3627, allocations: 2.484 kB / 447.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.3653, allocations: 1.298 MB / 449.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3653, allocations: 1.156 kB / 449.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.3656, allocations: 67.02 kB / 449.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/0.3661, allocations: 160.3 kB / 449.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.3661, allocations: 15.88 kB / 449.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.3704, allocations: 4.093 MB / 453.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3704, allocations: 6.672 kB / 453.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.3719, allocations: 0.7033 MB / 454.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3721, allocations: 129 kB / 454.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.3722, allocations: 8.078 kB / 454.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3725, allocations: 24.16 kB / 454.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.3726, allocations: 48.38 kB / 454.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3726, allocations: 16.78 kB / 454.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.373, allocations: 282.2 kB / 454.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.373, allocations: 1.312 kB / 454.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008124/0.3738, allocations: 148.9 kB / 454.8 MB, free: 9.836 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.0001529/0.374, allocations: 112.9 kB / 454.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3757, allocations: 0.7642 MB / 455.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3757, allocations: 0 / 455.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008729/0.3766, allocations: 0.5091 MB / 456.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.377, allocations: 55.53 kB / 456.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.379, allocations: 0.9645 MB / 457.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.3796, allocations: 0.8613 MB / 458.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.3798, allocations: 44.56 kB / 458.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3799, allocations: 30.88 kB / 458.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3799, allocations: 0 / 458.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of Templates: time 0.01213/0.392, allocations: 5.244 MB / 463.4 MB, free: 5.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 5.054635226726532]