Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001504/0.002624, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002261, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.977/0.977, allocations: 173.3 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08677/1.064, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.765e-05, allocations: 6.875 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00306/0.003078, allocations: 3.499 MB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.004525, allocations: 0.9344 MB / 244 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.004696, allocations: 8 kB / 244 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.004866, allocations: 103 kB / 244.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.005128, allocations: 170.6 kB / 244.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.005393, allocations: 167.7 kB / 244.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.005839, allocations: 0.6503 MB / 245.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.006044, allocations: 138.6 kB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004063/0.00645, allocations: 424.3 kB / 245.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.006659, allocations: 199.3 kB / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.006725, allocations: 52 kB / 245.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.006778, allocations: 52 kB / 245.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.006835, allocations: 87.69 kB / 246 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.006952, allocations: 159.6 kB / 246.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.00746, allocations: 366.6 kB / 246.5 MB, free: 12.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.007474, allocations: 4 kB / 246.5 MB, free: 12.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.007475, allocations: 4 kB / 246.5 MB, free: 12.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.007488, allocations: 0 / 246.5 MB, free: 12.16 MB / 250.7 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.0008613/0.008349, allocations: 0.8697 MB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.008379, allocations: 8.031 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.008456, allocations: 80.88 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.0087, allocations: 245.4 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.008733, allocations: 37.69 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.008779, allocations: 48.38 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.009117, allocations: 323.6 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.00913, allocations: 4.188 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.009157, allocations: 27.94 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.009168, allocations: 12 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.009353, allocations: 138.4 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.01054, allocations: 1.048 MB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.01079, allocations: 192.5 kB / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.01091, allocations: 97.45 kB / 249.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.01093, allocations: 4.328 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.01096, allocations: 34.89 kB / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.834e-06/0.01096, allocations: 0 / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.001374/0.01233, allocations: 0.9108 MB / 250.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.01236, allocations: 59.91 kB / 250.6 MB, free: 7.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.01255, allocations: 351.1 kB / 251 MB, free: 7.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.01257, allocations: 33.7 kB / 251 MB, free: 7.488 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01267, allocations: 285.2 kB / 251.3 MB, free: 7.203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.01275, allocations: 194.3 kB / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.01284, allocations: 110.2 kB / 251.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.01294, allocations: 358.7 kB / 251.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.01301, allocations: 57.28 kB / 252 MB, free: 6.484 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.01313, allocations: 195.1 kB / 252.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.01336, allocations: 292.1 kB / 252.5 MB, free: 5.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01336, allocations: 4 kB / 252.5 MB, free: 5.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004083/0.01377, allocations: 442.7 kB / 252.9 MB, free: 5.473 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01378, allocations: 8 kB / 252.9 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01379, allocations: 0 / 252.9 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.01427, allocations: 225.1 kB / 253.1 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.0148, allocations: 135.8 kB / 253.3 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.01661, allocations: 3.31 MB / 256.6 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01675, allocations: 16 kB / 256.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.01677, allocations: 16 kB / 256.6 MB, free: 1.602 MB / 250.7 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.0001061/0.01688, allocations: 153.7 kB / 256.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.01692, allocations: 47.91 kB / 256.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.01699, allocations: 64.84 kB / 256.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01699, allocations: 7.984 kB / 256.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.017, allocations: 4 kB / 256.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01701, allocations: 0 / 256.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.01776, allocations: 0.7089 MB / 257.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01776, allocations: 4 kB / 257.6 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.0179, allocations: 72.02 kB / 257.7 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.01793, allocations: 43.64 kB / 257.7 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/0.01833, allocations: 213.4 kB / 257.9 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01834, allocations: 12 kB / 257.9 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.02017, allocations: 3.189 MB / 261.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.02017, allocations: 3.938 kB / 261.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.02052, allocations: 462.5 kB / 261.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.02055, allocations: 12 kB / 261.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.02066, allocations: 12 kB / 261.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.02072, allocations: 52.34 kB / 261.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.02073, allocations: 8 kB / 261.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.02083, allocations: 140.7 kB / 261.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.02083, allocations: 0 / 261.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.02121, allocations: 152 kB / 261.9 MB, free: 12 MB / 266.7 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 9.347e-05/0.0213, allocations: 96.36 kB / 262 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.02181, allocations: 0.5847 MB / 262.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.02183, allocations: 12.12 kB / 262.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.0221, allocations: 449.5 kB / 263.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.02233, allocations: 84.61 kB / 263.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.02385, allocations: 0.9439 MB / 264.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.02393, allocations: 126.3 kB / 264.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.02403, allocations: 44.25 kB / 264.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/0.02413, allocations: 99.36 kB / 264.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02413, allocations: 0 / 264.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of Templates: time 0.008104/0.03224, allocations: 5.545 MB / 269.9 MB, free: 3.949 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5218353159725666]