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.001147/0.001147, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.00123/0.00123, allocations: 141.4 kB / 24.89 MB, free: 9.211 MB / 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 0.9447/0.9447, allocations: 173.4 MB / 201.5 MB, free: 9.211 MB / 186.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.693e-06/1.693e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.244e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003636/0.003658, allocations: 3.476 MB / 272 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.005285, allocations: 0.9382 MB / 272.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.005509, allocations: 8 kB / 272.9 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.005749, allocations: 107 kB / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.006091, allocations: 170.6 kB / 273.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.006427, allocations: 163.8 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.006898, allocations: 0.6502 MB / 274 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.007103, allocations: 134.6 kB / 274.2 MB, free: 488 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.007497, allocations: 375.1 kB / 274.5 MB, free: 112 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.007708, allocations: 195.4 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.007762, allocations: 52 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-05/0.007808, allocations: 52 kB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.007874, allocations: 135.5 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.007996, allocations: 195.5 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.008375, allocations: 410.3 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008379, allocations: 0 / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008381, allocations: 0 / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.008387, allocations: 0 / 275.5 MB, free: 15.09 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.0008308/0.009218, allocations: 0.7529 MB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.009251, allocations: 8.031 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.341e-05/0.009335, allocations: 80.88 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.009606, allocations: 237.5 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.00964, allocations: 45.69 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.009689, allocations: 48.38 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.01006, allocations: 319.7 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01007, allocations: 192 / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.0101, allocations: 27.92 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01011, allocations: 12 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.0103, allocations: 142.4 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.01156, allocations: 1.048 MB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.01185, allocations: 188.5 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.01197, allocations: 89.45 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.012, allocations: 12.33 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.01203, allocations: 38.83 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.01203, allocations: 4 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001609/0.01364, allocations: 0.9107 MB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.01367, allocations: 59.91 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.01386, allocations: 343.1 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01388, allocations: 37.7 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.01399, allocations: 285.1 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.01409, allocations: 194.3 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.0142, allocations: 114.2 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01431, allocations: 358.7 kB / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.01438, allocations: 61.28 kB / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01451, allocations: 190.6 kB / 281.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.01474, allocations: 300.1 kB / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01475, allocations: 0 / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004392/0.01519, allocations: 434.6 kB / 281.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.0152, allocations: 4 kB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01521, allocations: 4 kB / 281.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/0.01571, allocations: 233.5 kB / 282 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.01598, allocations: 119.8 kB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.01797, allocations: 3.301 MB / 285.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.01814, allocations: 23.98 kB / 285.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.01816, allocations: 16 kB / 285.5 MB, free: 4.668 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.0001094/0.01827, allocations: 141.8 kB / 285.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.01832, allocations: 47.91 kB / 285.7 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.01845, allocations: 60.84 kB / 285.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01845, allocations: 4 kB / 285.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.01847, allocations: 16.02 kB / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01847, allocations: 0 / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008048/0.01928, allocations: 0.7245 MB / 286.5 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01928, allocations: 4 kB / 286.5 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.01941, allocations: 63.89 kB / 286.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.01982, allocations: 217.4 kB / 286.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.01984, allocations: 15.98 kB / 286.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1123/0.1322, allocations: 3.172 MB / 289.9 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1322, allocations: 0 / 289.9 MB, free: 28.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.1328, allocations: 452.6 kB / 290.4 MB, free: 28.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.1329, allocations: 40.16 kB / 290.4 MB, free: 28.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.1329, allocations: 12.36 kB / 290.4 MB, free: 28.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1331, allocations: 21.56 kB / 290.5 MB, free: 28.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.1332, allocations: 45.94 kB / 290.5 MB, free: 28.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1332, allocations: 15.11 kB / 290.5 MB, free: 28.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1333, allocations: 142.8 kB / 290.7 MB, free: 28.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1333, allocations: 2.281 kB / 290.7 MB, free: 28.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.1338, allocations: 151.7 kB / 290.8 MB, free: 28.2 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.0001208/0.134, allocations: 98.66 kB / 290.9 MB, free: 28.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007183/0.1347, allocations: 0.587 MB / 291.5 MB, free: 27.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/0.1347, allocations: 6.312 kB / 291.5 MB, free: 27.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.135, allocations: 442 kB / 291.9 MB, free: 27.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1353, allocations: 45.05 kB / 292 MB, free: 27.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1364, allocations: 0.8893 MB / 292.9 MB, free: 27.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.1366, allocations: 129.9 kB / 293 MB, free: 27.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1367, allocations: 44.61 kB / 293 MB, free: 27.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1368, allocations: 95.31 kB / 293.1 MB, free: 27.07 MB / 266.7 MB Notification: Performance of SimCode: time 2.444e-06/0.1368, allocations: 0 / 293.1 MB, free: 27.07 MB / 266.7 MB Notification: Performance of Templates: time 0.009686/0.1465, allocations: 5.49 MB / 298.6 MB, free: 26.41 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 -s gbode -gbm=radauIIA3 -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","",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.7529274919070303]