Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.002573/0.002573, 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.002431/0.002431, 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.57/1.57, 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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.442e-05, allocations: 5.828 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004873/0.004897, allocations: 2.818 MB / 270.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.007028, allocations: 1.125 MB / 271.3 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.007154, allocations: 8 kB / 271.3 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.008892, allocations: 0.6494 MB / 271.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.009246, allocations: 138.9 kB / 272.1 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.01074, allocations: 0.6497 MB / 272.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.0112, allocations: 302.4 kB / 273 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.01167, allocations: 239 kB / 273.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.01198, allocations: 199.5 kB / 273.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.01221, allocations: 127.7 kB / 273.6 MB, free: 484 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.01226, allocations: 28 kB / 273.6 MB, free: 456 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.01263, allocations: 167.7 kB / 273.7 MB, free: 288 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.0127, allocations: 63.75 kB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.01283, allocations: 99.75 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.01362, allocations: 0.5139 MB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01363, allocations: 0 / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01363, allocations: 0 / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01363, allocations: 0 / 274.4 MB, free: 15.61 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001833/0.01547, allocations: 0.7803 MB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.01551, allocations: 12.92 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009156/0.01643, allocations: 168.6 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.01681, allocations: 212.8 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.01684, allocations: 25.03 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.0169, allocations: 36.38 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.01753, allocations: 347.2 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.01756, allocations: 4.188 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.01759, allocations: 11.94 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.0176, allocations: 8 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.01806, allocations: 230.5 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.02063, allocations: 1.245 MB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.02122, allocations: 245.9 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.0214, allocations: 95.66 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-05/0.0215, allocations: 15.98 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.02153, allocations: 37.39 kB / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.923e-06/0.02154, allocations: 3.938 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001365/0.0229, allocations: 428.4 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.02295, allocations: 55.39 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.02321, allocations: 237.8 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.02324, allocations: 29.7 kB / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.02342, allocations: 231.1 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.02352, allocations: 91.22 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02364, allocations: 67.64 kB / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.02392, allocations: 0.5001 MB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.02405, allocations: 68.53 kB / 279.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.02427, allocations: 163.5 kB / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.02465, allocations: 238.8 kB / 279.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.02466, allocations: 7.938 kB / 279.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006465/0.02531, allocations: 339.4 kB / 280.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.02532, allocations: 8 kB / 280.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.02533, allocations: 3.938 kB / 280.3 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.02576, allocations: 99.58 kB / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.02593, allocations: 43.92 kB / 280.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.02876, allocations: 2.513 MB / 282.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.02892, allocations: 31.75 kB / 283 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.02894, allocations: 19.94 kB / 283 MB, free: 6.578 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.02917, allocations: 188.5 kB / 283.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.02923, allocations: 23.91 kB / 283.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/0.02989, allocations: 288.6 kB / 283.5 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.02989, allocations: 4 kB / 283.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.0299, allocations: 4 kB / 283.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.0299, allocations: 3.938 kB / 283.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.0311, allocations: 0.6844 MB / 284.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.03111, allocations: 0 / 284.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.03123, allocations: 20 kB / 284.2 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.03158, allocations: 95.78 kB / 284.3 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.0316, allocations: 4 kB / 284.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.03459, allocations: 2.528 MB / 286.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.03459, allocations: 3.938 kB / 286.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.03542, allocations: 0.491 MB / 287.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/0.0355, allocations: 31.83 kB / 287.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.03554, allocations: 11.98 kB / 287.4 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.03565, allocations: 7.875 kB / 287.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.03571, allocations: 20.03 kB / 287.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.03572, allocations: 8 kB / 287.4 MB, free: 1.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.03588, allocations: 167.2 kB / 287.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03588, allocations: 0 / 287.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.03641, allocations: 95.78 kB / 287.7 MB, free: 1.707 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002496/0.03666, allocations: 127.2 kB / 287.8 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.03742, allocations: 425.7 kB / 288.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03743, allocations: 0 / 288.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.03785, allocations: 321.2 kB / 288.5 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.03817, allocations: 27.02 kB / 288.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.03925, allocations: 0.5298 MB / 289.1 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.03942, allocations: 150.2 kB / 289.2 MB, free: 52 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.754e-05/0.03951, allocations: 17.95 kB / 289.2 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.03955, allocations: 16.5 kB / 289.2 MB, free: 20 kB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03955, allocations: 0 / 289.2 MB, free: 20 kB / 266.7 MB Notification: Performance of Templates: time 0.1171/0.1567, allocations: 2.635 MB / 291.9 MB, free: 31.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.711292449967004]