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.0007852/0.0007852, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001848, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000685/0.000685, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009378/0.001623, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9313/0.9313, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09798/1.029, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.142e-06/1.142e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.656e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003234/0.00325, allocations: 3.527 MB / 248.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004751, allocations: 0.9811 MB / 249.7 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.004907, allocations: 11.94 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.00508, allocations: 103 kB / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.005323, allocations: 174.6 kB / 250 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.00557, allocations: 171.7 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.005972, allocations: 0.6385 MB / 250.8 MB, free: 7.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.006147, allocations: 146.6 kB / 250.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.006484, allocations: 424.2 kB / 251.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.006685, allocations: 203.3 kB / 251.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.006741, allocations: 52 kB / 251.6 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.225e-05/0.006793, allocations: 52 kB / 251.7 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.006849, allocations: 87.69 kB / 251.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.006951, allocations: 163.6 kB / 251.9 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.007271, allocations: 378.5 kB / 252.3 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.007281, allocations: 0 / 252.3 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007282, allocations: 0 / 252.3 MB, free: 6.434 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.007291, allocations: 0 / 252.3 MB, free: 6.434 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.0008171/0.008109, allocations: 0.8775 MB / 253.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.008139, allocations: 8.031 kB / 253.2 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.008222, allocations: 80.88 kB / 253.2 MB, free: 5.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.008476, allocations: 249.4 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.008508, allocations: 37.69 kB / 253.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.008562, allocations: 52.38 kB / 253.6 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.008909, allocations: 323.6 kB / 253.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.00892, allocations: 192 / 253.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.008946, allocations: 27.92 kB / 253.9 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.008955, allocations: 12 kB / 253.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.009132, allocations: 146.4 kB / 254.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.01028, allocations: 1.048 MB / 255.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.01051, allocations: 184.5 kB / 255.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.01064, allocations: 97.38 kB / 255.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.01066, allocations: 8.328 kB / 255.4 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.01068, allocations: 38.89 kB / 255.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.402e-06/0.01068, allocations: 4 kB / 255.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=55): time 0.001512/0.01219, allocations: 0.9382 MB / 256.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.01222, allocations: 59.91 kB / 256.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.01242, allocations: 359.1 kB / 256.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.01244, allocations: 33.7 kB / 256.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.01255, allocations: 285.2 kB / 257.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.01264, allocations: 194.3 kB / 257.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.01273, allocations: 106.2 kB / 257.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.01282, allocations: 362.7 kB / 257.8 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.01289, allocations: 57.28 kB / 257.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01302, allocations: 187.1 kB / 258 MB, free: 480 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.01326, allocations: 324.1 kB / 258.3 MB, free: 112 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01326, allocations: 0 / 258.3 MB, free: 112 kB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004585/0.01372, allocations: 434.7 kB / 258.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01373, allocations: 4 kB / 258.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01374, allocations: 4 kB / 258.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/0.01425, allocations: 229.3 kB / 259 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.01453, allocations: 131.8 kB / 259.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.01651, allocations: 3.299 MB / 262.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.01666, allocations: 24.06 kB / 262.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.01668, allocations: 27.98 kB / 262.4 MB, free: 11.79 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.0001098/0.01679, allocations: 133.8 kB / 262.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.01684, allocations: 51.89 kB / 262.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.01691, allocations: 61.02 kB / 262.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01691, allocations: 8 kB / 262.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.01692, allocations: 4 kB / 262.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01693, allocations: 3.938 kB / 262.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.01772, allocations: 0.7283 MB / 263.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01772, allocations: 4.125 kB / 263.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.01785, allocations: 67.91 kB / 263.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.01789, allocations: 47.61 kB / 263.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.0183, allocations: 209.4 kB / 263.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.01831, allocations: 8 kB / 263.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.01995, allocations: 3.193 MB / 266.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01995, allocations: 8 kB / 267 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.02031, allocations: 458.6 kB / 267.4 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.02033, allocations: 15.94 kB / 267.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.02047, allocations: 11.98 kB / 267.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.02054, allocations: 52.34 kB / 267.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.02055, allocations: 12 kB / 267.5 MB, free: 6.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.02065, allocations: 144.7 kB / 267.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02065, allocations: 0 / 267.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003778/0.02103, allocations: 152 kB / 267.8 MB, free: 6.18 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.512e-05/0.02112, allocations: 96.34 kB / 267.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.02164, allocations: 0.5923 MB / 268.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/0.02166, allocations: 8 kB / 268.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.02197, allocations: 466.5 kB / 268.9 MB, free: 4.965 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.02229, allocations: 244.4 kB / 269.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.02382, allocations: 0.962 MB / 270.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.02391, allocations: 130.3 kB / 270.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.02401, allocations: 48.38 kB / 270.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.02414, allocations: 115.3 kB / 270.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02414, allocations: 0 / 270.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of Templates: time 0.007926/0.03206, allocations: 6.266 MB / 276.7 MB, free: 13.18 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.445225268602371]