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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009334/0.0009333, allocations: 104.2 kB / 17.58 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 55.92 kB / 280.7 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09128, allocations: 46.62 MB / 327.3 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004433/0.09576, allocations: 2.716 MB / 330 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.09802, allocations: 1.192 MB / 331.2 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.09834, allocations: 8 kB / 331.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.1, allocations: 0.6185 MB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.1005, allocations: 131.1 kB / 332 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1019, allocations: 0.6808 MB / 332.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.1023, allocations: 286.7 kB / 332.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.1029, allocations: 279 kB / 333.2 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.1032, allocations: 123.6 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.1034, allocations: 167.3 kB / 333.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.1035, allocations: 28 kB / 333.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.1039, allocations: 175.8 kB / 333.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.104, allocations: 51.84 kB / 333.7 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.1041, allocations: 155.2 kB / 333.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.1047, allocations: 494.5 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1048, allocations: 4 kB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1048, allocations: 4 kB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1048, allocations: 0 / 334.4 MB, free: 13.35 MB / 286.1 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.001667/0.1065, allocations: 0.7177 MB / 335.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1065, allocations: 12.03 kB / 335.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.1073, allocations: 120.6 kB / 335.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1076, allocations: 268.4 kB / 335.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1076, allocations: 21.03 kB / 335.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.1077, allocations: 32.38 kB / 335.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.1082, allocations: 340.9 kB / 335.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1082, allocations: 0 / 335.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.1083, allocations: 20 kB / 335.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1083, allocations: 8 kB / 335.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.1087, allocations: 234.5 kB / 336.1 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.1106, allocations: 1.447 MB / 337.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.1112, allocations: 0.6966 MB / 338.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1114, allocations: 104.8 kB / 338.4 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-05/0.1115, allocations: 88.98 kB / 338.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1115, allocations: 42.5 kB / 338.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.1115, allocations: 0 / 338.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001156/0.1127, allocations: 487.4 kB / 339 MB, free: 8.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1127, allocations: 63.39 kB / 339 MB, free: 8.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1129, allocations: 171.3 kB / 339.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1129, allocations: 29.7 kB / 339.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.113, allocations: 183.8 kB / 339.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.1131, allocations: 78.84 kB / 339.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.1132, allocations: 53.89 kB / 339.5 MB, free: 7.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1133, allocations: 326.8 kB / 339.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1134, allocations: 72.53 kB / 339.9 MB, free: 7.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1136, allocations: 128.2 kB / 340 MB, free: 7.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1138, allocations: 220 kB / 340.3 MB, free: 6.922 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1139, allocations: 4 kB / 340.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005325/0.1144, allocations: 332.6 kB / 340.6 MB, free: 6.586 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1144, allocations: 4 kB / 340.6 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1144, allocations: 4 kB / 340.6 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.1147, allocations: 76.84 kB / 340.7 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1149, allocations: 39.92 kB / 340.7 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.1169, allocations: 2.037 MB / 342.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.117, allocations: 23.69 kB / 342.8 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.117, allocations: 12.06 kB / 342.8 MB, free: 4.25 MB / 286.1 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.0001455/0.1172, allocations: 153.8 kB / 342.9 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.1172, allocations: 23.73 kB / 343 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.1178, allocations: 284.8 kB / 343.2 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1178, allocations: 0 / 343.2 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1178, allocations: 4 kB / 343.2 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1178, allocations: 3.984 kB / 343.2 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009019/0.1187, allocations: 0.6901 MB / 343.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1187, allocations: 0 / 343.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1188, allocations: 27.98 kB / 344 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.1191, allocations: 76.8 kB / 344 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1191, allocations: 3.938 kB / 344 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.1208, allocations: 2.041 MB / 346.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1209, allocations: 0 / 346.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.1215, allocations: 443.9 kB / 346.5 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.1216, allocations: 120.8 kB / 346.6 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.1216, allocations: 4 kB / 346.6 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1217, allocations: 4 kB / 346.6 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1218, allocations: 19.97 kB / 346.7 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1218, allocations: 4 kB / 346.7 MB, free: 116 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1219, allocations: 127.5 kB / 346.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1219, allocations: 7.938 kB / 346.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004648/0.1224, allocations: 99.69 kB / 346.9 MB, free: 15.88 MB / 302.1 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.0001985/0.1226, allocations: 119.3 kB / 347 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006074/0.1232, allocations: 362.2 kB / 347.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1232, allocations: 0 / 347.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.1235, allocations: 246.5 kB / 347.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1239, allocations: 13.27 kB / 347.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.1249, allocations: 0.5672 MB / 348.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1252, allocations: 0.756 MB / 348.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1253, allocations: 17.95 kB / 349 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.1254, allocations: 15.44 kB / 349 MB, free: 13.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1254, allocations: 0 / 349 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Templates: time 0.005989/0.1314, allocations: 2.543 MB / 351.5 MB, free: 11.17 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches