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.0009687/0.0009685, allocations: 101.1 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008783/0.0008783, allocations: 190.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002145/0.0002146, allocations: 4 kB / 306.8 MB, free: 1.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1002, allocations: 51.5 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004964/0.1052, allocations: 4.476 MB / 362.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.1082, allocations: 1.577 MB / 364.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.1086, allocations: 16 kB / 364.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.1091, allocations: 195 kB / 364.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.1098, allocations: 262.3 kB / 364.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.111, allocations: 0.5297 MB / 365.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009141/0.1119, allocations: 0.7464 MB / 366.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.1144, allocations: 1.352 MB / 367.5 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000459/0.1149, allocations: 278.8 kB / 367.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.1153, allocations: 390.4 kB / 368.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.1154, allocations: 32 kB / 368.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.116, allocations: 223.8 kB / 368.4 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.1162, allocations: 123.5 kB / 368.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1164, allocations: 173.3 kB / 368.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.1174, allocations: 0.9077 MB / 369.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1174, allocations: 0 / 369.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1174, allocations: 3.938 kB / 369.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1174, allocations: 0 / 369.6 MB, free: 2.438 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.003486/0.1209, allocations: 1.299 MB / 370.9 MB, free: 1.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.121, allocations: 16.02 kB / 370.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.1211, allocations: 148.2 kB / 371 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.1227, allocations: 258.8 kB / 371.3 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.123, allocations: 259 kB / 371.5 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.1231, allocations: 74 kB / 371.6 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.1233, allocations: 99.91 kB / 371.7 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1944/0.3177, allocations: 0.9203 MB / 372.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.3178, allocations: 5.766 kB / 372.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.3179, allocations: 38.73 kB / 372.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.3179, allocations: 23.25 kB / 372.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.3194, allocations: 0.7744 MB / 373.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/0.3249, allocations: 3.651 MB / 377.1 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3267, allocations: 1.247 MB / 378.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.3272, allocations: 372.1 kB / 378.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.3273, allocations: 180.9 kB / 378.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3274, allocations: 48 kB / 378.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.3274, allocations: 0 / 378.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002083/0.3295, allocations: 1.296 MB / 380.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.3295, allocations: 87.5 kB / 380.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.33, allocations: 362.2 kB / 380.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.33, allocations: 38.64 kB / 380.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.3302, allocations: 390.8 kB / 381.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.3304, allocations: 293.7 kB / 381.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3305, allocations: 19.66 kB / 381.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3306, allocations: 364.4 kB / 381.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.3311, allocations: 263.1 kB / 382 MB, free: 13.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.3316, allocations: 470.3 kB / 382.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.3321, allocations: 329.5 kB / 382.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3321, allocations: 6.656 kB / 382.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001585/0.3337, allocations: 0.9697 MB / 383.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.3338, allocations: 8.156 kB / 383.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3338, allocations: 5.438 kB / 383.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.3342, allocations: 126.6 kB / 383.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.3349, allocations: 199.9 kB / 384.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.3379, allocations: 5.564 MB / 389.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.3385, allocations: 100 kB / 389.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.3385, allocations: 40.42 kB / 389.8 MB, free: 6.449 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003189/0.3389, allocations: 228.9 kB / 390 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.339, allocations: 65.25 kB / 390.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.3404, allocations: 0.8469 MB / 390.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3404, allocations: 9.266 kB / 391 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3404, allocations: 4.078 kB / 391 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.3405, allocations: 4.078 kB / 391 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.3431, allocations: 2.085 MB / 393 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3432, allocations: 2.25 kB / 393 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.3437, allocations: 134.6 kB / 393.2 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.344, allocations: 115.5 kB / 393.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.3441, allocations: 16.27 kB / 393.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.347, allocations: 5.308 MB / 398.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.347, allocations: 7.5 kB / 398.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.3491, allocations: 1.267 MB / 399.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.3493, allocations: 144.8 kB / 400 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.3494, allocations: 23.3 kB / 400.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.3497, allocations: 21.45 kB / 400.1 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.3499, allocations: 65.05 kB / 400.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.3499, allocations: 27.95 kB / 400.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003484/0.3503, allocations: 256.7 kB / 400.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3503, allocations: 0 / 400.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001301/0.3516, allocations: 267.1 kB / 400.7 MB, free: 13.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/0.3544, allocations: 1.855 MB / 402.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.3564, allocations: 1.159 MB / 403.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3564, allocations: 0 / 403.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009159/0.3573, allocations: 0.7915 MB / 404.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.3579, allocations: 64.83 kB / 404.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.3641, allocations: 3.685 MB / 408.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.3647, allocations: 0.9092 MB / 409.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000519/0.3652, allocations: 108.5 kB / 409.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.3656, allocations: 242.9 kB / 409.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3656, allocations: 0 / 409.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.3926, allocations: 11.83 MB / 421.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.3929, allocations: 234.8 kB / 421.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.537, allocations: 3.75 kB / 421.5 MB, free: 12.95 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat does not exist to compare? outputFormat=mat