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.002576/0.002576, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002905/0.002905, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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 1.518/1.518, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.663e-06/1.663e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.6e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005606/0.005632, allocations: 3.437 MB / 270.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.007555, allocations: 0.8997 MB / 271.7 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.007779, allocations: 8 kB / 271.7 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.008074, allocations: 95.02 kB / 271.8 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.008511, allocations: 170.7 kB / 271.9 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.008897, allocations: 175.7 kB / 272.1 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007365/0.009634, allocations: 0.6502 MB / 272.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.009899, allocations: 133.9 kB / 272.9 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.01042, allocations: 375.2 kB / 273.3 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.01072, allocations: 195.4 kB / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.01081, allocations: 52 kB / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.01091, allocations: 59.88 kB / 273.6 MB, free: 484 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.01105, allocations: 123.5 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.01128, allocations: 195.5 kB / 273.9 MB, free: 164 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000794/0.01207, allocations: 0.6386 MB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01208, allocations: 0 / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01208, allocations: 0 / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.01209, allocations: 0 / 274.5 MB, free: 15.52 MB / 266.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.001643/0.01373, allocations: 0.9164 MB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.01377, allocations: 12.03 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.01394, allocations: 104.6 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.01444, allocations: 300.1 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.01449, allocations: 37.69 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/0.01458, allocations: 52.31 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.0154, allocations: 419 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.01542, allocations: 192 / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.01547, allocations: 23.94 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.01548, allocations: 12 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.01633, allocations: 369.1 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.01917, allocations: 1.423 MB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.01985, allocations: 317.2 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.02025, allocations: 156.3 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.02029, allocations: 12.27 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.02033, allocations: 37.72 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/0.02033, allocations: 0 / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.003138/0.02347, allocations: 1.154 MB / 279.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.02352, allocations: 59.84 kB / 279.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.02411, allocations: 0.4908 MB / 280.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.02415, allocations: 33.7 kB / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.02444, allocations: 379.3 kB / 280.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.02463, allocations: 202.3 kB / 281 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.02484, allocations: 128 kB / 281.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003258/0.02517, allocations: 0.5508 MB / 281.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.02555, allocations: 161.2 kB / 281.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.0261, allocations: 330.7 kB / 282.1 MB, free: 7.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.02704, allocations: 0.5311 MB / 282.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.02705, allocations: 0 / 282.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001495/0.02854, allocations: 0.754 MB / 283.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.02856, allocations: 11.98 kB / 283.4 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.02857, allocations: 4 kB / 283.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.02981, allocations: 274.9 kB / 283.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.03027, allocations: 115.8 kB / 283.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.0359, allocations: 5.244 MB / 289 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.03631, allocations: 27.98 kB / 289.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.03635, allocations: 20 kB / 289.1 MB, free: 320 kB / 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.0003003/0.03665, allocations: 240.4 kB / 289.3 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.03678, allocations: 67.67 kB / 289.4 MB, free: 0 / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1008/0.1375, allocations: 53 kB / 289.4 MB, free: 31.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1376, allocations: 5.438 kB / 289.4 MB, free: 31.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.1376, allocations: 3.094 kB / 289.5 MB, free: 31.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1376, allocations: 3.844 kB / 289.5 MB, free: 31.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.1398, allocations: 1.267 MB / 290.7 MB, free: 31.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1398, allocations: 1.906 kB / 290.7 MB, free: 31.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.14, allocations: 66.83 kB / 290.8 MB, free: 31.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.1412, allocations: 251.8 kB / 291 MB, free: 31.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.1412, allocations: 13.25 kB / 291 MB, free: 31.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/0.1445, allocations: 5.072 MB / 296.1 MB, free: 27.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1445, allocations: 5.219 kB / 296.1 MB, free: 27.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.1457, allocations: 0.7661 MB / 296.9 MB, free: 26.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.1458, allocations: 44.81 kB / 296.9 MB, free: 26.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.1459, allocations: 12.22 kB / 296.9 MB, free: 26.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.1461, allocations: 21.25 kB / 297 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.1462, allocations: 43.69 kB / 297 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.1463, allocations: 14.8 kB / 297 MB, free: 26.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002911/0.1465, allocations: 325.8 kB / 297.3 MB, free: 26.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1465, allocations: 0 / 297.3 MB, free: 26.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006892/0.1472, allocations: 153.8 kB / 297.5 MB, free: 26.49 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 0.0001139/0.1474, allocations: 112.3 kB / 297.6 MB, free: 26.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.1487, allocations: 0.8962 MB / 298.5 MB, free: 25.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1487, allocations: 1.25 kB / 298.5 MB, free: 25.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.1494, allocations: 0.6431 MB / 299.1 MB, free: 25.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1498, allocations: 48.89 kB / 299.2 MB, free: 25.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1514, allocations: 0.9715 MB / 300.2 MB, free: 24.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1517, allocations: 256.8 kB / 300.4 MB, free: 24.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.1518, allocations: 49.88 kB / 300.5 MB, free: 24.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.1519, allocations: 30.92 kB / 300.5 MB, free: 24.66 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1519, allocations: 0 / 300.5 MB, free: 24.66 MB / 266.7 MB Notification: Performance of Templates: time 0.01082/0.1627, allocations: 5.237 MB / 305.7 MB, free: 23.2 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.635294419946149]