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.001363/0.001363, allocations: 97.28 kB / 16.96 MB, free: 6.109 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.001643/0.001643, allocations: 180.2 kB / 17.84 MB, free: 5.734 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.472/1.472, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005234/0.0005234, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09708, allocations: 47.59 MB / 328.4 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002686/0.0998, allocations: 2.257 MB / 330.6 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1015, allocations: 1.076 MB / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1017, allocations: 8 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.102, allocations: 99.52 kB / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1023, allocations: 107.3 kB / 331.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1034, allocations: 0.5452 MB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.1038, allocations: 266.7 kB / 332.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.1048, allocations: 0.522 MB / 333.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1049, allocations: 107.6 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1051, allocations: 143.5 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.1052, allocations: 16 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.1055, allocations: 155.8 kB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1056, allocations: 43.83 kB / 333.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.1057, allocations: 77.58 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.1061, allocations: 363.2 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1061, allocations: 4 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1061, allocations: 8 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.1061, allocations: 0 / 334.1 MB, free: 14.24 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.00144/0.1075, allocations: 0.6746 MB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1076, allocations: 8.031 kB / 334.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007895/0.1084, allocations: 123.5 kB / 334.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.1087, allocations: 251.3 kB / 335.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.1088, allocations: 28.61 kB / 335.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.1088, allocations: 32 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.1094, allocations: 325.1 kB / 335.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1094, allocations: 0 / 335.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.1094, allocations: 20 kB / 335.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1094, allocations: 11.94 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.1098, allocations: 238.4 kB / 335.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.1117, allocations: 1.451 MB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.1124, allocations: 0.6967 MB / 338 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1126, allocations: 104.8 kB / 338.1 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.1127, allocations: 101.1 kB / 338.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1127, allocations: 30.56 kB / 338.2 MB, free: 9.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.1128, allocations: 0 / 338.2 MB, free: 9.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001175/0.1139, allocations: 499.3 kB / 338.7 MB, free: 9.262 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.114, allocations: 59.41 kB / 338.8 MB, free: 9.191 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1142, allocations: 175.3 kB / 338.9 MB, free: 9.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1142, allocations: 29.7 kB / 339 MB, free: 8.973 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1143, allocations: 176 kB / 339.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.1144, allocations: 78.81 kB / 339.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.1144, allocations: 8 kB / 339.2 MB, free: 8.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1145, allocations: 322.8 kB / 339.5 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1146, allocations: 68.53 kB / 339.6 MB, free: 8.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1148, allocations: 132.2 kB / 339.7 MB, free: 8.164 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1149, allocations: 85.11 kB / 339.8 MB, free: 8.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.115, allocations: 4 kB / 339.8 MB, free: 8.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005457/0.1155, allocations: 324.8 kB / 340.1 MB, free: 7.754 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1155, allocations: 4 kB / 340.1 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1156, allocations: 4 kB / 340.1 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.1159, allocations: 77.03 kB / 340.2 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.116, allocations: 39.92 kB / 340.2 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.1179, allocations: 1.842 MB / 342.1 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1181, allocations: 15.84 kB / 342.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.1181, allocations: 16 kB / 342.1 MB, free: 5.621 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.1183, allocations: 149.8 kB / 342.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1183, allocations: 19.77 kB / 342.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.1189, allocations: 292.6 kB / 342.6 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1189, allocations: 8 kB / 342.6 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1189, allocations: 0 / 342.6 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1189, allocations: 0 / 342.6 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009216/0.1198, allocations: 0.6943 MB / 343.3 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1199, allocations: 0 / 343.3 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.12, allocations: 23.98 kB / 343.3 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.1202, allocations: 72.81 kB / 343.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1202, allocations: 4 kB / 343.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.122, allocations: 1.827 MB / 345.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1221, allocations: 4.031 kB / 345.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.1227, allocations: 447.8 kB / 345.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1228, allocations: 120.8 kB / 345.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1228, allocations: 4 kB / 345.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.123, allocations: 4 kB / 345.8 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.123, allocations: 19.97 kB / 345.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.123, allocations: 8.062 kB / 345.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1231, allocations: 127.5 kB / 345.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1231, allocations: 0 / 345.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.1237, allocations: 103.7 kB / 346 MB, free: 1.469 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002244/0.1239, allocations: 123.9 kB / 346.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006115/0.1245, allocations: 334.5 kB / 346.5 MB, free: 1 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1245, allocations: 0 / 346.5 MB, free: 1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.1249, allocations: 251.4 kB / 346.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1252, allocations: 19.94 kB / 346.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1263, allocations: 0.7138 MB / 347.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1266, allocations: 0.7518 MB / 348.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1268, allocations: 25.94 kB / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.1268, allocations: 15.44 kB / 348.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1268, allocations: 4 kB / 348.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Templates: time 0.006203/0.133, allocations: 2.348 MB / 350.6 MB, free: 12.81 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","../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