Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001146, allocations: 60.53 kB / 306.4 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08937, allocations: 50.53 MB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006159/0.09556, allocations: 5.235 MB / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.09837, allocations: 1.721 MB / 363.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.09882, allocations: 16 kB / 363.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.1016, allocations: 1.335 MB / 365.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007648/0.1024, allocations: 270.3 kB / 365.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1036, allocations: 0.6226 MB / 366.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009091/0.1046, allocations: 0.7737 MB / 366.9 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1056, allocations: 0.7189 MB / 367.6 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.1061, allocations: 322.7 kB / 367.9 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.1066, allocations: 462.1 kB / 368.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1067, allocations: 60 kB / 368.4 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.1072, allocations: 235.8 kB / 368.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1073, allocations: 163.3 kB / 368.8 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.1077, allocations: 405.9 kB / 369.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1088, allocations: 1.176 MB / 370.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1088, allocations: 0 / 370.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1088, allocations: 4 kB / 370.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.1089, allocations: 0 / 370.4 MB, free: 0.9023 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.1563/0.2652, allocations: 1.448 MB / 371.8 MB, free: 19.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2653, allocations: 10.73 kB / 371.8 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.2655, allocations: 146.4 kB / 372 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.2686, allocations: 256.1 kB / 372.2 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.2689, allocations: 258.8 kB / 372.5 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.2689, allocations: 75.36 kB / 372.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.2692, allocations: 102.7 kB / 372.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.2716, allocations: 0.9335 MB / 373.6 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.2716, allocations: 14.14 kB / 373.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.2718, allocations: 36.94 kB / 373.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.2718, allocations: 24.41 kB / 373.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.274, allocations: 0.778 MB / 374.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007/0.281, allocations: 3.627 MB / 378.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.2834, allocations: 1.247 MB / 379.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.2841, allocations: 373.9 kB / 379.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.2842, allocations: 186.1 kB / 379.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2843, allocations: 43.88 kB / 379.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.827e-06/0.2843, allocations: 2.438 kB / 379.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002889/0.2872, allocations: 1.303 MB / 381.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.2872, allocations: 90 kB / 381.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.2878, allocations: 367.7 kB / 381.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.2879, allocations: 41.11 kB / 381.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.2881, allocations: 381.8 kB / 382.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.2883, allocations: 297.2 kB / 382.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.2887, allocations: 173.9 kB / 382.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2888, allocations: 362.7 kB / 382.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.2895, allocations: 262.4 kB / 383.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.2904, allocations: 475.9 kB / 383.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.2919, allocations: 0.7792 MB / 384.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.292, allocations: 9.125 kB / 384.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002481/0.2944, allocations: 0.9668 MB / 385.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.2945, allocations: 7.484 kB / 385.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.2945, allocations: 6.781 kB / 385.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.295, allocations: 125.5 kB / 385.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.2962, allocations: 205.1 kB / 385.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.3001, allocations: 5.577 MB / 391.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.3009, allocations: 96.97 kB / 391.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.423e-05/0.301, allocations: 39.31 kB / 391.4 MB, free: 6.055 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.3015, allocations: 240.5 kB / 391.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3016, allocations: 53.95 kB / 391.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.3036, allocations: 0.8475 MB / 392.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3037, allocations: 8.5 kB / 392.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3037, allocations: 7.484 kB / 392.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.3037, allocations: 9.312 kB / 392.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.3066, allocations: 2.093 MB / 394.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3066, allocations: 3.344 kB / 394.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.3072, allocations: 134.3 kB / 394.8 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.3074, allocations: 111.4 kB / 394.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.3075, allocations: 25.8 kB / 394.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.3103, allocations: 5.301 MB / 400.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3103, allocations: 3.438 kB / 400.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3121, allocations: 1.273 MB / 401.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3122, allocations: 138.9 kB / 401.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.3123, allocations: 23.94 kB / 401.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.3127, allocations: 18.19 kB / 401.7 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3128, allocations: 62.56 kB / 401.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.3129, allocations: 26.62 kB / 401.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.3132, allocations: 257.5 kB / 402 MB, free: 13.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3132, allocations: 0 / 402 MB, free: 13.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009609/0.3141, allocations: 267.4 kB / 402.3 MB, free: 13.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/0.3164, allocations: 1.876 MB / 404.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.3182, allocations: 1.166 MB / 405.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3182, allocations: 0.9062 kB / 405.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008742/0.3191, allocations: 0.7925 MB / 406.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.3196, allocations: 72.86 kB / 406.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.3271, allocations: 6.123 MB / 412.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.3276, allocations: 0.911 MB / 413.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005255/0.3282, allocations: 105.1 kB / 413.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.3285, allocations: 243.4 kB / 413.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3285, allocations: 0 / 413.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.3537, allocations: 12.19 MB / 425.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.3539, allocations: 254.1 kB / 426 MB, free: 8.188 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.735, allocations: 0 / 426 MB, free: 8.188 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches