Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001861/0.003002, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002589, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8607/0.8607, allocations: 158.6 MB / 171.1 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.151/1.012, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.325e-05, allocations: 6.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00467/0.004693, allocations: 2.733 MB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.006883, allocations: 1.188 MB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.007007, allocations: 11.94 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000828/0.007835, allocations: 0.657 MB / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.008052, allocations: 135 kB / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.008747, allocations: 0.6068 MB / 227.2 MB, free: 10.8 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.009037, allocations: 310.5 kB / 227.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.009342, allocations: 233.8 kB / 227.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.009531, allocations: 199.4 kB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.009677, allocations: 127.7 kB / 228 MB, free: 9.945 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.009705, allocations: 24 kB / 228 MB, free: 9.922 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.00999, allocations: 183.7 kB / 228.2 MB, free: 9.742 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.01002, allocations: 47.81 kB / 228.3 MB, free: 9.695 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.01009, allocations: 87.88 kB / 228.3 MB, free: 9.609 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.01043, allocations: 354.7 kB / 228.7 MB, free: 9.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.01044, allocations: 0 / 228.7 MB, free: 9.262 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01044, allocations: 0 / 228.7 MB, free: 9.262 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.01046, allocations: 0 / 228.7 MB, free: 9.262 MB / 234.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.001078/0.01154, allocations: 0.7934 MB / 229.5 MB, free: 8.426 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01157, allocations: 12.03 kB / 229.5 MB, free: 8.414 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.01207, allocations: 188.6 kB / 229.7 MB, free: 8.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.01224, allocations: 161.3 kB / 229.8 MB, free: 8.047 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.01227, allocations: 33.02 kB / 229.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.0123, allocations: 28.38 kB / 229.9 MB, free: 7.988 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.01253, allocations: 241.5 kB / 230.1 MB, free: 7.738 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01254, allocations: 4.172 kB / 230.1 MB, free: 7.734 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.01256, allocations: 19.94 kB / 230.2 MB, free: 7.715 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01256, allocations: 8 kB / 230.2 MB, free: 7.707 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01267, allocations: 96.47 kB / 230.3 MB, free: 7.613 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.01366, allocations: 0.8296 MB / 231.1 MB, free: 6.738 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.0139, allocations: 186.4 kB / 231.3 MB, free: 6.547 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.01395, allocations: 51.73 kB / 231.3 MB, free: 6.496 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.01402, allocations: 11.98 kB / 231.3 MB, free: 6.484 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.01405, allocations: 46.42 kB / 231.4 MB, free: 6.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.01405, allocations: 0 / 231.4 MB, free: 6.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005244/0.01457, allocations: 286.1 kB / 231.7 MB, free: 6.141 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.0146, allocations: 59.34 kB / 231.7 MB, free: 6.07 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.01469, allocations: 159.1 kB / 231.9 MB, free: 5.902 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.0147, allocations: 33.7 kB / 231.9 MB, free: 5.863 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.01477, allocations: 176.3 kB / 232.1 MB, free: 5.688 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.015, allocations: 91.2 kB / 232.2 MB, free: 5.598 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.01505, allocations: 53.97 kB / 232.2 MB, free: 5.539 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.01514, allocations: 330.8 kB / 232.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.01517, allocations: 28.55 kB / 232.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.01524, allocations: 84.19 kB / 232.7 MB, free: 5.07 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.01535, allocations: 132.1 kB / 232.8 MB, free: 4.918 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01536, allocations: 4 kB / 232.8 MB, free: 4.914 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002319/0.01559, allocations: 220.4 kB / 233 MB, free: 4.691 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.0156, allocations: 4 kB / 233 MB, free: 4.688 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01561, allocations: 7.984 kB / 233 MB, free: 4.68 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.0158, allocations: 60.97 kB / 233.1 MB, free: 4.617 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.01589, allocations: 51.92 kB / 233.1 MB, free: 4.566 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.0169, allocations: 1.595 MB / 234.7 MB, free: 2.887 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.01698, allocations: 23.78 kB / 234.7 MB, free: 2.863 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01699, allocations: 12 kB / 234.8 MB, free: 2.852 MB / 234.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 8.159e-05/0.01707, allocations: 125.7 kB / 234.9 MB, free: 2.719 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.01709, allocations: 15.98 kB / 234.9 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.0173, allocations: 191.5 kB / 235.1 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.0173, allocations: 0 / 235.1 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01731, allocations: 4 kB / 235.1 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01731, allocations: 0 / 235.1 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.01769, allocations: 407.3 kB / 235.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01769, allocations: 4 kB / 235.5 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.01775, allocations: 27.98 kB / 235.5 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01778, allocations: 23.83 kB / 235.5 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.01792, allocations: 64.73 kB / 235.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01793, allocations: 8 kB / 235.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.01906, allocations: 1.579 MB / 237.2 MB, free: 284 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01906, allocations: 0 / 237.2 MB, free: 284 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.01929, allocations: 305.7 kB / 237.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.01931, allocations: 4 kB / 237.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.01936, allocations: 8 kB / 237.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.01939, allocations: 15.95 kB / 237.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.01939, allocations: 12 kB / 237.5 MB, free: 15.92 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.483e-05/0.01942, allocations: 28.83 kB / 237.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01942, allocations: 0 / 237.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.01968, allocations: 103.8 kB / 237.7 MB, free: 15.79 MB / 250.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.0001372/0.01981, allocations: 104.3 kB / 237.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.02009, allocations: 284.9 kB / 238 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.0201, allocations: 4 kB / 238 MB, free: 15.38 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.02023, allocations: 219.2 kB / 238.3 MB, free: 15.15 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.02038, allocations: 35.88 kB / 238.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.02325, allocations: 0.5257 MB / 238.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.684e-05/0.02331, allocations: 88.31 kB / 238.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.02337, allocations: 25.62 kB / 238.9 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.02342, allocations: 67.36 kB / 239 MB, free: 14.37 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02342, allocations: 0 / 239 MB, free: 14.37 MB / 250.7 MB Notification: Performance of Templates: time 0.004385/0.0278, allocations: 2.795 MB / 241.8 MB, free: 11.59 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.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.5842728056013584]