Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001723, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.78 kB / 307.1 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.0887, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004484/0.09322, allocations: 2.843 MB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.09521, allocations: 1.195 MB / 361.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.09543, allocations: 11.94 kB / 361.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.09696, allocations: 0.6107 MB / 362.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.09736, allocations: 143 kB / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.09862, allocations: 0.6455 MB / 363 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000415/0.09905, allocations: 302.7 kB / 363.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.09952, allocations: 275 kB / 363.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.09976, allocations: 135.5 kB / 363.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.09998, allocations: 171.3 kB / 363.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.1, allocations: 24 kB / 363.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.1004, allocations: 187.8 kB / 364.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.1005, allocations: 63.7 kB / 364.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1006, allocations: 147.3 kB / 364.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.1011, allocations: 498.5 kB / 364.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1012, allocations: 4 kB / 364.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1012, allocations: 4 kB / 364.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1012, allocations: 0 / 364.8 MB, free: 6.742 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.001601/0.1028, allocations: 0.7216 MB / 365.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1028, allocations: 12.03 kB / 365.5 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.866e-05/0.1029, allocations: 66.72 kB / 365.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.1038, allocations: 124.5 kB / 365.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1041, allocations: 260.5 kB / 366 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1041, allocations: 25.03 kB / 366 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.1042, allocations: 36.12 kB / 366 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.1047, allocations: 333.1 kB / 366.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1047, allocations: 0 / 366.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1047, allocations: 16 kB / 366.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1048, allocations: 8 kB / 366.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.1052, allocations: 242.5 kB / 366.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1071, allocations: 1.436 MB / 368.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.1077, allocations: 0.7117 MB / 368.8 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1079, allocations: 112 kB / 368.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.1081, allocations: 166.2 kB / 369.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1081, allocations: 34.56 kB / 369.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.943e-06/0.1081, allocations: 0 / 369.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.0012/0.1093, allocations: 0.4913 MB / 369.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1094, allocations: 59.41 kB / 369.6 MB, free: 1.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1095, allocations: 176.9 kB / 369.8 MB, free: 1.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1096, allocations: 29.7 kB / 369.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.1097, allocations: 172 kB / 370 MB, free: 1.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.1097, allocations: 90.73 kB / 370.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.1098, allocations: 49.98 kB / 370.1 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1099, allocations: 334.8 kB / 370.5 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.11, allocations: 68.55 kB / 370.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1102, allocations: 133 kB / 370.7 MB, free: 380 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.1105, allocations: 220.1 kB / 370.9 MB, free: 136 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1105, allocations: 0 / 370.9 MB, free: 136 kB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.1519/0.2624, allocations: 321.3 kB / 371.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.2624, allocations: 5.969 kB / 371.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2624, allocations: 2.703 kB / 371.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.2628, allocations: 79.09 kB / 371.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.263, allocations: 42.67 kB / 371.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.2648, allocations: 2.023 MB / 373.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.265, allocations: 28.66 kB / 373.4 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.265, allocations: 12.05 kB / 373.4 MB, free: 18.58 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.0001809/0.2652, allocations: 158.2 kB / 373.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.2653, allocations: 17.5 kB / 373.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.266, allocations: 282.9 kB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.266, allocations: 3.547 kB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.266, allocations: 6.312 kB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.266, allocations: 1.594 kB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.2671, allocations: 0.6918 MB / 374.5 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2671, allocations: 1.094 kB / 374.5 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.2672, allocations: 26.36 kB / 374.6 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.2675, allocations: 76.38 kB / 374.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.2675, allocations: 10.14 kB / 374.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.2695, allocations: 2.019 MB / 376.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.2695, allocations: 7.969 kB / 376.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.2704, allocations: 446.9 kB / 377.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.2705, allocations: 115.8 kB / 377.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.2705, allocations: 3.078 kB / 377.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2706, allocations: 9.094 kB / 377.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.2707, allocations: 18.98 kB / 377.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2707, allocations: 10.48 kB / 377.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2708, allocations: 127.6 kB / 377.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2708, allocations: 0 / 377.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005747/0.2714, allocations: 100.1 kB / 377.5 MB, free: 15.66 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.0009155/0.2723, allocations: 0.9966 MB / 378.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008425/0.2732, allocations: 362.2 kB / 378.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2732, allocations: 1.375 kB / 378.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.2736, allocations: 243 kB / 379.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.2741, allocations: 24.8 kB / 379.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.2772, allocations: 2.513 MB / 381.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2775, allocations: 0.7527 MB / 382.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.2776, allocations: 24.12 kB / 382.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.2777, allocations: 71.39 kB / 382.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of SimCode: time 1.372e-06/0.2777, allocations: 0 / 382.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.3027, allocations: 5.02 MB / 387.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.28, allocations: 3.875 kB / 387.5 MB, free: 11.23 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches