Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009185/0.0009185, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008839/0.0008839, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9815/0.9815, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.051e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003511/0.003531, allocations: 3.515 MB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.005019, allocations: 0.9501 MB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.005202, allocations: 8 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.00543, allocations: 99.08 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.005763, allocations: 170.6 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.006059, allocations: 179.6 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.006528, allocations: 0.6541 MB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.00673, allocations: 126 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.007066, allocations: 371.1 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.007276, allocations: 203.4 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.007335, allocations: 52 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.182e-05/0.007387, allocations: 52 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.007456, allocations: 127.5 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.007593, allocations: 195.4 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.007951, allocations: 414.4 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007954, allocations: 3.938 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007955, allocations: 0 / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.007962, allocations: 0 / 280 MB, free: 10.31 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.0009081/0.00887, allocations: 0.8893 MB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.008908, allocations: 11.98 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.009019, allocations: 108.5 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.009334, allocations: 300.1 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.00937, allocations: 45.69 kB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.009423, allocations: 48.38 kB / 281.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.009872, allocations: 339.8 kB / 281.7 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.009883, allocations: 4.188 kB / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.009914, allocations: 23.94 kB / 281.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.009927, allocations: 12 kB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.01023, allocations: 207.7 kB / 282 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.01171, allocations: 1.27 MB / 283.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.01208, allocations: 233.2 kB / 283.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.01228, allocations: 124.3 kB / 283.6 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.0123, allocations: 4.328 kB / 283.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.01233, allocations: 41.72 kB / 283.6 MB, free: 6.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.924e-06/0.01233, allocations: 0 / 283.6 MB, free: 6.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001512/0.01384, allocations: 0.9192 MB / 284.5 MB, free: 5.578 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.01387, allocations: 55.91 kB / 284.6 MB, free: 5.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.01418, allocations: 442.5 kB / 285 MB, free: 5.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.0142, allocations: 33.69 kB / 285.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.01436, allocations: 367.4 kB / 285.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.01445, allocations: 190.3 kB / 285.6 MB, free: 4.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.01457, allocations: 119.9 kB / 285.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.01471, allocations: 0.5235 MB / 286.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.01486, allocations: 93.23 kB / 286.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.01507, allocations: 246.8 kB / 286.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.01542, allocations: 375.9 kB / 287 MB, free: 2.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01543, allocations: 11.94 kB / 287 MB, free: 2.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007634/0.01619, allocations: 0.5822 MB / 287.5 MB, free: 2.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01621, allocations: 8 kB / 287.6 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.01622, allocations: 4 kB / 287.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.01686, allocations: 242.7 kB / 287.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.01709, allocations: 111.8 kB / 287.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.01985, allocations: 4.787 MB / 292.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.02002, allocations: 23.98 kB / 292.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.02005, allocations: 24 kB / 292.7 MB, free: 12.95 MB / 282.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.0001272/0.02018, allocations: 196.4 kB / 292.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.02024, allocations: 67.67 kB / 293 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.0203, allocations: 61.03 kB / 293.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.0203, allocations: 4 kB / 293.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.02031, allocations: 4 kB / 293.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02032, allocations: 7.922 kB / 293.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.02138, allocations: 1.02 MB / 294.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.02138, allocations: 0 / 294.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.02151, allocations: 59.91 kB / 294.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.022, allocations: 239.1 kB / 294.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.02201, allocations: 8 kB / 294.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.02444, allocations: 4.659 MB / 299 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.02444, allocations: 8 kB / 299.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.025, allocations: 0.6238 MB / 299.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.02504, allocations: 43.7 kB / 299.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.02506, allocations: 8 kB / 299.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.02519, allocations: 19.98 kB / 299.8 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.02527, allocations: 52.41 kB / 299.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.02528, allocations: 12 kB / 299.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.02546, allocations: 279.1 kB / 300.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02546, allocations: 4 kB / 300.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000431/0.02589, allocations: 152 kB / 300.2 MB, free: 5.07 MB / 282.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.0001276/0.02602, allocations: 111.1 kB / 300.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008356/0.02685, allocations: 0.7483 MB / 301.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02685, allocations: 0 / 301.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.02722, allocations: 0.5624 MB / 301.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.0275, allocations: 49.48 kB / 301.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.02856, allocations: 0.9185 MB / 302.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.02865, allocations: 134.3 kB / 302.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.957e-05/0.02875, allocations: 48.25 kB / 302.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.02882, allocations: 32.5 kB / 302.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02882, allocations: 0 / 302.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of Templates: time 0.1119/0.1407, allocations: 5.222 MB / 308.1 MB, free: 37.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.984834155999124]