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) 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 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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.000941/0.0009411, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.0009599/0.0009599, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000977/0.0009772, allocations: 51.48 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09124, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003838/0.0951, allocations: 2.831 MB / 354.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.09687, allocations: 1.141 MB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.09701, allocations: 11.94 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.09848, allocations: 0.6134 MB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.09879, allocations: 131 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1, allocations: 0.6848 MB / 356.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.1004, allocations: 298.6 kB / 357.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.1008, allocations: 274.7 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.101, allocations: 131.5 kB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1012, allocations: 159.4 kB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1013, allocations: 24 kB / 357.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.1016, allocations: 179.8 kB / 358 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.1016, allocations: 67.72 kB / 358 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1018, allocations: 147.3 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.1023, allocations: 498.5 kB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1023, allocations: 0 / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1023, allocations: 0 / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1023, allocations: 0 / 358.7 MB, free: 12.5 MB / 302.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.001517/0.1038, allocations: 0.7293 MB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1039, allocations: 8.031 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008203/0.1047, allocations: 128.4 kB / 359.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1051, allocations: 260.5 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1051, allocations: 21.03 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.1052, allocations: 32.38 kB / 359.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.1057, allocations: 337 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1057, allocations: 0 / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.1057, allocations: 16 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1057, allocations: 8 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.1062, allocations: 238.5 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.108, allocations: 1.436 MB / 361.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.1086, allocations: 0.7066 MB / 362.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1088, allocations: 100.8 kB / 362.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.446e-05/0.1089, allocations: 89.05 kB / 362.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1089, allocations: 42.55 kB / 362.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.1089, allocations: 0 / 362.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001152/0.1101, allocations: 495 kB / 363.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1101, allocations: 59.41 kB / 363.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1103, allocations: 173.1 kB / 363.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1103, allocations: 33.7 kB / 363.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.1104, allocations: 176 kB / 363.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.1105, allocations: 90.69 kB / 363.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.1105, allocations: 49.98 kB / 363.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.1106, allocations: 330.8 kB / 364.2 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1107, allocations: 64.55 kB / 364.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1109, allocations: 129 kB / 364.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.1112, allocations: 228.9 kB / 364.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1112, allocations: 4 kB / 364.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005361/0.1117, allocations: 327.5 kB / 364.9 MB, free: 5.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1118, allocations: 4.219 kB / 364.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1118, allocations: 4 kB / 364.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002994/0.1121, allocations: 76.81 kB / 365 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1122, allocations: 47.91 kB / 365 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.1141, allocations: 2.029 MB / 367.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1143, allocations: 31.75 kB / 367.1 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1143, allocations: 12 kB / 367.1 MB, free: 3.398 MB / 302.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.0001384/0.1145, allocations: 141.8 kB / 367.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.1145, allocations: 19.75 kB / 367.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.1151, allocations: 288 kB / 367.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1151, allocations: 7.984 kB / 367.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1151, allocations: 0 / 367.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1151, allocations: 0 / 367.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008948/0.116, allocations: 0.6942 MB / 368.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.116, allocations: 0 / 368.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1161, allocations: 24 kB / 368.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.1164, allocations: 76.73 kB / 368.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1164, allocations: 8 kB / 368.4 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1582/0.2747, allocations: 2.014 MB / 370.4 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2747, allocations: 4.125 kB / 370.4 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.2754, allocations: 444.6 kB / 370.8 MB, free: 24.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.2755, allocations: 115.7 kB / 370.9 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2755, allocations: 6.453 kB / 370.9 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2757, allocations: 9.812 kB / 370.9 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.2757, allocations: 18.83 kB / 371 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2758, allocations: 5.141 kB / 371 MB, free: 24.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.864e-05/0.2759, allocations: 127 kB / 371.1 MB, free: 24.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2759, allocations: 0.625 kB / 371.1 MB, free: 24.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.2764, allocations: 93.64 kB / 371.2 MB, free: 24.44 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.0001725/0.2766, allocations: 125.6 kB / 371.3 MB, free: 24.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000585/0.2772, allocations: 361.4 kB / 371.7 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2772, allocations: 0.7812 kB / 371.7 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.2775, allocations: 240.1 kB / 371.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2778, allocations: 22.77 kB / 371.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009402/0.2788, allocations: 0.5691 MB / 372.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.279, allocations: 0.7547 MB / 373.2 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.736e-05/0.2791, allocations: 23.64 kB / 373.3 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.2791, allocations: 16.39 kB / 373.3 MB, free: 23.17 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2791, allocations: 0 / 373.3 MB, free: 23.17 MB / 302.1 MB Notification: Performance of Templates: time 0.00644/0.2856, allocations: 2.607 MB / 375.9 MB, free: 23.04 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/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) Reference file matches