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.0007589/0.0007589, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001811, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006988/0.0006988, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009684/0.001667, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9658/0.9658, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09014/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 1.182e-06/1.182e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.265e-05, allocations: 13.91 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003044/0.003056, allocations: 3.531 MB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.004656, allocations: 0.985 MB / 249.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.004806, allocations: 11.94 kB / 249.2 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.004962, allocations: 103.1 kB / 249.3 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.005191, allocations: 174.6 kB / 249.5 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.005412, allocations: 167.7 kB / 249.7 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.005809, allocations: 0.65 MB / 250.3 MB, free: 8.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.00599, allocations: 142.6 kB / 250.5 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.006331, allocations: 432.2 kB / 250.9 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.00655, allocations: 203.3 kB / 251.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.006616, allocations: 52 kB / 251.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.688e-05/0.006673, allocations: 52 kB / 251.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.006732, allocations: 87.69 kB / 251.3 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.006845, allocations: 159.6 kB / 251.4 MB, free: 7.469 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.00723, allocations: 378.5 kB / 251.8 MB, free: 7.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.007242, allocations: 0 / 251.8 MB, free: 7.098 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007243, allocations: 0 / 251.8 MB, free: 7.098 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.007254, allocations: 0 / 251.8 MB, free: 7.098 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.0009081/0.008163, allocations: 0.8775 MB / 252.7 MB, free: 6.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.008192, allocations: 12.03 kB / 252.7 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.008268, allocations: 80.88 kB / 252.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.008503, allocations: 249.4 kB / 253 MB, free: 5.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.008535, allocations: 37.69 kB / 253 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.008582, allocations: 48.38 kB / 253.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.008895, allocations: 319.7 kB / 253.4 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.008911, allocations: 8.172 kB / 253.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.008936, allocations: 27.92 kB / 253.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.008945, allocations: 12 kB / 253.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.009113, allocations: 150.3 kB / 253.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.01036, allocations: 1.04 MB / 254.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.0106, allocations: 184.6 kB / 254.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01072, allocations: 105.3 kB / 254.9 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.01074, allocations: 4.328 kB / 254.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.01076, allocations: 42.83 kB / 255 MB, free: 3.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.422e-06/0.01076, allocations: 0 / 255 MB, free: 3.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.001443/0.01221, allocations: 0.9305 MB / 255.9 MB, free: 2.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.01223, allocations: 63.91 kB / 256 MB, free: 2.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.01243, allocations: 359.1 kB / 256.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.01245, allocations: 33.7 kB / 256.3 MB, free: 2.367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01255, allocations: 281.2 kB / 256.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.01263, allocations: 198.3 kB / 256.8 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.01273, allocations: 110.2 kB / 256.9 MB, free: 1.777 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.01281, allocations: 362.7 kB / 257.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.01289, allocations: 57.28 kB / 257.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01301, allocations: 183.1 kB / 257.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.01325, allocations: 316.1 kB / 257.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01325, allocations: 4 kB / 257.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004217/0.01367, allocations: 434.7 kB / 258.2 MB, free: 352 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.01368, allocations: 4 kB / 258.2 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01369, allocations: 4 kB / 258.3 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.01421, allocations: 229.4 kB / 258.5 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.01449, allocations: 131.9 kB / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.01644, allocations: 3.299 MB / 261.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.01658, allocations: 20 kB / 261.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.0166, allocations: 19.98 kB / 261.9 MB, free: 12.48 MB / 266.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.0001007/0.0167, allocations: 153.7 kB / 262.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.01675, allocations: 47.91 kB / 262.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.01681, allocations: 64.95 kB / 262.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01681, allocations: 4 kB / 262.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.01682, allocations: 4 kB / 262.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01683, allocations: 0 / 262.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.01759, allocations: 0.7322 MB / 262.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01759, allocations: 0 / 262.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.01772, allocations: 72.03 kB / 263 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.01776, allocations: 43.61 kB / 263.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.01816, allocations: 205.4 kB / 263.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.01818, allocations: 12 kB / 263.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.01989, allocations: 3.198 MB / 266.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01989, allocations: 0 / 266.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.02024, allocations: 458.5 kB / 266.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.02027, allocations: 12.03 kB / 266.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.02038, allocations: 19.98 kB / 266.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.02044, allocations: 52.28 kB / 267 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02045, allocations: 12 kB / 267 MB, free: 7.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.57e-05/0.02054, allocations: 144.7 kB / 267.1 MB, free: 7 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02054, allocations: 0 / 267.1 MB, free: 7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.02091, allocations: 152.1 kB / 267.3 MB, free: 6.852 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.158e-05/0.021, allocations: 104.3 kB / 267.4 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.02151, allocations: 0.5844 MB / 268 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/0.02152, allocations: 8.469 kB / 268 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.02183, allocations: 466.5 kB / 268.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.02215, allocations: 243.9 kB / 268.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.02368, allocations: 0.9588 MB / 269.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.462e-05/0.02376, allocations: 130.3 kB / 269.8 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.02387, allocations: 52.38 kB / 269.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.024, allocations: 111.3 kB / 269.9 MB, free: 4.055 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.024, allocations: 3.938 kB / 269.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of Templates: time 0.00811/0.03211, allocations: 6.25 MB / 276.2 MB, free: 13.86 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.548191761597991]