Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001864/0.001864, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002072/0.002072, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.582/1.582, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.533e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004732/0.004758, allocations: 2.802 MB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.00641, allocations: 0.7671 MB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.006548, allocations: 8 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.006786, allocations: 63.44 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.007081, allocations: 103.2 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.007354, allocations: 111.7 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.00782, allocations: 398.3 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.008017, allocations: 91.33 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.008434, allocations: 243.4 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.008653, allocations: 127.6 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.008722, allocations: 32 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.008791, allocations: 36 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.008873, allocations: 75.72 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.009022, allocations: 115.7 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.009531, allocations: 406.6 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.009534, allocations: 0 / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009535, allocations: 3.938 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.009542, allocations: 3.938 kB / 277.5 MB, free: 12.45 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001231/0.01077, allocations: 0.6828 MB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.01081, allocations: 11.98 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.01093, allocations: 64.7 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.01129, allocations: 224.8 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.01132, allocations: 33.03 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.01138, allocations: 32.38 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.01196, allocations: 270.6 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01198, allocations: 192 / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.01201, allocations: 16.38 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.01202, allocations: 11.94 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.01259, allocations: 226.5 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.0145, allocations: 0.9995 MB / 280.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.01488, allocations: 151 kB / 280.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.01503, allocations: 55.58 kB / 280.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.01506, allocations: 4 kB / 280.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.0151, allocations: 41.39 kB / 280.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.0151, allocations: 4 kB / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001764/0.01687, allocations: 0.5303 MB / 280.9 MB, free: 8.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.01692, allocations: 59.41 kB / 280.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.01732, allocations: 364.1 kB / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.01734, allocations: 29.7 kB / 281.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.01757, allocations: 282.8 kB / 281.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.01764, allocations: 83.33 kB / 281.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.01777, allocations: 79.31 kB / 281.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.01806, allocations: 0.5196 MB / 282.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.01838, allocations: 91.83 kB / 282.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.01875, allocations: 223.8 kB / 282.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.01934, allocations: 328.8 kB / 282.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01934, allocations: 0 / 282.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008308/0.02017, allocations: 391 kB / 283.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02019, allocations: 4 kB / 283.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.02019, allocations: 4 kB / 283.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.02074, allocations: 83.41 kB / 283.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.02104, allocations: 67.91 kB / 283.4 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.02411, allocations: 3.629 MB / 287.1 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.02435, allocations: 20.05 kB / 287.1 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.02438, allocations: 20 kB / 287.1 MB, free: 2.25 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.0246, allocations: 196.4 kB / 287.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.02467, allocations: 35.81 kB / 287.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.567e-05/0.02475, allocations: 38.2 kB / 287.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02476, allocations: 0 / 287.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.02476, allocations: 4 kB / 287.4 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.02477, allocations: 0 / 287.4 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.02517, allocations: 284.5 kB / 287.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02517, allocations: 0 / 287.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.02535, allocations: 27.98 kB / 287.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.0258, allocations: 91.42 kB / 287.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.02582, allocations: 11.94 kB / 287.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.02886, allocations: 3.622 MB / 291.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.02887, allocations: 3.938 kB / 291.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.02959, allocations: 418.3 kB / 291.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.02964, allocations: 19.81 kB / 291.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.02968, allocations: 8 kB / 291.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.02985, allocations: 11.98 kB / 291.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.02993, allocations: 23.91 kB / 291.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.02994, allocations: 11.98 kB / 291.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002514/0.0302, allocations: 233.1 kB / 292.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0302, allocations: 0 / 292.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004128/0.03061, allocations: 76 kB / 292.2 MB, free: 12.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001362/0.03074, allocations: 99.25 kB / 292.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009939/0.03174, allocations: 0.5776 MB / 292.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03174, allocations: 0 / 292.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.03233, allocations: 463.2 kB / 293.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.03266, allocations: 24.5 kB / 293.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.03377, allocations: 0.538 MB / 293.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.03396, allocations: 172.8 kB / 294.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.03408, allocations: 26.33 kB / 294.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.03416, allocations: 28.48 kB / 294.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.03416, allocations: 0 / 294.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of Templates: time 0.008113/0.04227, allocations: 2.829 MB / 296.9 MB, free: 7.996 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.620969242067076]