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.001779/0.001779, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001893/0.001893, allocations: 153.4 kB / 24.26 MB, free: 184 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.488/1.488, allocations: 173.4 MB / 200.8 MB, free: 9.309 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.623e-06/1.623e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.439e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004475/0.004509, allocations: 2.658 MB / 270 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.006949, allocations: 1.098 MB / 271.1 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.007166, allocations: 8 kB / 271.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.008854, allocations: 0.5948 MB / 271.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.009281, allocations: 146.9 kB / 271.8 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.01079, allocations: 0.6291 MB / 272.5 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.01135, allocations: 306.4 kB / 272.8 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005184/0.01187, allocations: 239 kB / 273 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.01223, allocations: 191.5 kB / 273.2 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.01248, allocations: 131.7 kB / 273.3 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.01254, allocations: 28 kB / 273.3 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.01293, allocations: 167.7 kB / 273.5 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.013, allocations: 67.75 kB / 273.6 MB, free: 472 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.01315, allocations: 95.77 kB / 273.7 MB, free: 376 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007924/0.01394, allocations: 0.5101 MB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01394, allocations: 0 / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01395, allocations: 0 / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.01395, allocations: 0 / 274.2 MB, free: 15.86 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.001798/0.01575, allocations: 0.6534 MB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.01579, allocations: 12.92 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.01674, allocations: 168.6 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.01719, allocations: 201.9 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.01722, allocations: 29.03 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.0173, allocations: 32.38 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.01794, allocations: 333.6 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.01797, allocations: 8.109 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.01801, allocations: 15.94 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.01801, allocations: 8 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.01849, allocations: 238.5 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.02059, allocations: 1.04 MB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.02113, allocations: 233.7 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.02131, allocations: 92.81 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.02138, allocations: 19.97 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.02142, allocations: 42.56 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.02143, allocations: 0 / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001584/0.02301, allocations: 418.2 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.02306, allocations: 55.41 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.02326, allocations: 164 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.02329, allocations: 29.7 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.02345, allocations: 188.2 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.02355, allocations: 87.28 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.02365, allocations: 53.94 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.02386, allocations: 326.8 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.024, allocations: 64.53 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.0242, allocations: 140.9 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.02455, allocations: 212.2 kB / 279 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02455, allocations: 0 / 279 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006769/0.02523, allocations: 336.4 kB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.02525, allocations: 11.94 kB / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.02526, allocations: 3.938 kB / 279.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004251/0.02568, allocations: 88.95 kB / 279.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.02585, allocations: 43.92 kB / 279.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.02822, allocations: 1.888 MB / 281.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.02838, allocations: 31.72 kB / 281.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.0284, allocations: 12 kB / 281.4 MB, free: 8.273 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.0001708/0.02857, allocations: 141.8 kB / 281.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.02864, allocations: 23.91 kB / 281.5 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.02926, allocations: 290.3 kB / 281.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.02926, allocations: 0 / 281.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.02927, allocations: 4 kB / 281.8 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.02928, allocations: 3.938 kB / 281.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.03033, allocations: 0.5808 MB / 282.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.03033, allocations: 3.984 kB / 282.4 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.03045, allocations: 24 kB / 282.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003311/0.03078, allocations: 84.95 kB / 282.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.0308, allocations: 8 kB / 282.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.03307, allocations: 1.895 MB / 284.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.03308, allocations: 3.938 kB / 284.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.03406, allocations: 459.1 kB / 284.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.03414, allocations: 35.86 kB / 284.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.03416, allocations: 7.922 kB / 284.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.03429, allocations: 11.94 kB / 284.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.03433, allocations: 19.91 kB / 284.9 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.03435, allocations: 8 kB / 284.9 MB, free: 4.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.03446, allocations: 115.2 kB / 285.1 MB, free: 4.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03446, allocations: 0 / 285.1 MB, free: 4.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005149/0.03497, allocations: 99.78 kB / 285.2 MB, free: 4.305 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.0002367/0.03521, allocations: 127.2 kB / 285.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.03589, allocations: 339 kB / 285.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.0359, allocations: 0 / 285.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.03628, allocations: 246.2 kB / 285.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.03661, allocations: 12 kB / 285.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.03771, allocations: 0.5208 MB / 286.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.03788, allocations: 146.2 kB / 286.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.285e-05/0.03797, allocations: 17.95 kB / 286.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.03802, allocations: 16.5 kB / 286.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03802, allocations: 4 kB / 286.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of Templates: time 0.007249/0.04527, allocations: 2.619 MB / 289.2 MB, free: 224 kB / 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] 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.373982623917982]