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.001302/0.001302, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001421/0.001421, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.452/1.452, allocations: 230.6 MB / 254.8 MB, free: 14.88 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.001469/0.001469, allocations: 51.92 kB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 53.33 MB / 427.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005182/0.1183, allocations: 3.546 MB / 431 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2294/0.3477, allocations: 0.9574 MB / 432 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.348, allocations: 7.5 kB / 432 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3484, allocations: 96.44 kB / 432.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.3488, allocations: 168.8 kB / 432.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.3492, allocations: 171.7 kB / 432.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.3498, allocations: 0.6336 MB / 433.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.3501, allocations: 141 kB / 433.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.3504, allocations: 246.6 kB / 433.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3506, allocations: 275.9 kB / 433.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.3507, allocations: 53.78 kB / 433.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.3508, allocations: 53.22 kB / 433.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.3509, allocations: 122.6 kB / 433.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.3511, allocations: 288.1 kB / 434.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.3517, allocations: 0.6398 MB / 434.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3517, allocations: 0 / 434.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3517, allocations: 0 / 434.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3517, allocations: 0 / 434.9 MB, free: 7.648 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.001521/0.3532, allocations: 0.8735 MB / 435.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3533, allocations: 10.16 kB / 435.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3534, allocations: 66.14 kB / 435.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.3538, allocations: 356.8 kB / 436.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.3539, allocations: 43.19 kB / 436.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.3539, allocations: 48.41 kB / 436.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.3548, allocations: 442.7 kB / 436.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3548, allocations: 0 / 436.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.3548, allocations: 20.56 kB / 436.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.3548, allocations: 12.69 kB / 436.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.3557, allocations: 388.8 kB / 437.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.3582, allocations: 1.584 MB / 438.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007426/0.3589, allocations: 389.8 kB / 439.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.3593, allocations: 160.6 kB / 439.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.3594, allocations: 5.688 kB / 439.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3594, allocations: 41.56 kB / 439.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.3594, allocations: 1.062 kB / 439.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003413/0.3628, allocations: 1.187 MB / 440.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3628, allocations: 62.16 kB / 440.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.3633, allocations: 417.6 kB / 440.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3634, allocations: 32.23 kB / 440.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3635, allocations: 312.1 kB / 441.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3636, allocations: 199.5 kB / 441.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3638, allocations: 108 kB / 441.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.3639, allocations: 360.3 kB / 441.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.3643, allocations: 178.6 kB / 442.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.3648, allocations: 300.7 kB / 442.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/0.3658, allocations: 497 kB / 442.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3658, allocations: 1.703 kB / 442.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001495/0.3673, allocations: 0.7329 MB / 443.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3673, allocations: 10.42 kB / 443.6 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3673, allocations: 7.844 kB / 443.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.3679, allocations: 179.9 kB / 443.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.3684, allocations: 111.8 kB / 443.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.3723, allocations: 4.274 MB / 448.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.3728, allocations: 37.41 kB / 448.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.3728, allocations: 22.17 kB / 448.2 MB, free: 15.22 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.0003183/0.3731, allocations: 188.5 kB / 448.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.3732, allocations: 50.2 kB / 448.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.3734, allocations: 61.3 kB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.3734, allocations: 9.656 kB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/0.3734, allocations: 4.75 kB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3734, allocations: 4.641 kB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.376, allocations: 1.297 MB / 449.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.376, allocations: 1.5 kB / 449.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.3763, allocations: 69.47 kB / 449.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.3767, allocations: 157.8 kB / 450.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.3768, allocations: 17.23 kB / 450.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/0.3811, allocations: 4.096 MB / 454.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3812, allocations: 1.906 kB / 454.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3826, allocations: 0.7016 MB / 454.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.3828, allocations: 126.9 kB / 455 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.3828, allocations: 13.52 kB / 455 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.3831, allocations: 24.19 kB / 455 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3832, allocations: 48.64 kB / 455.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.3833, allocations: 19.12 kB / 455.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003819/0.3837, allocations: 287.3 kB / 455.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3837, allocations: 0 / 455.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008184/0.3845, allocations: 149.3 kB / 455.5 MB, free: 9.844 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.0001519/0.3846, allocations: 111.3 kB / 455.6 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.3863, allocations: 0.7578 MB / 456.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3863, allocations: 0 / 456.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009171/0.3872, allocations: 0.5116 MB / 456.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.3877, allocations: 55.2 kB / 457 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3896, allocations: 0.9912 MB / 458 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.3902, allocations: 0.8662 MB / 458.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3903, allocations: 33 kB / 458.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3903, allocations: 1.344 kB / 458.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of Templates: time 0.01432/0.4046, allocations: 9.884 MB / 468.7 MB, free: 3.211 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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: 7.7204102569958195]