Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 195.6 kB / 17.38 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.6 MB / 244.7 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007367/0.0007368, allocations: 95.73 kB / 296.8 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002315/0.0002316, allocations: 4 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003359/0.1986, allocations: 4.496 MB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2002, allocations: 1.582 MB / 414.1 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.2004, allocations: 16 kB / 414.2 MB, free: 21.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.2007, allocations: 194.3 kB / 414.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.2011, allocations: 266.3 kB / 414.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.202, allocations: 0.5238 MB / 415.1 MB, free: 20.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.2025, allocations: 0.762 MB / 415.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.2043, allocations: 1.405 MB / 417.3 MB, free: 18.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.2046, allocations: 290.8 kB / 417.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.2049, allocations: 386.4 kB / 418 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.205, allocations: 36 kB / 418 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.2053, allocations: 211.8 kB / 418.2 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.2054, allocations: 135.4 kB / 418.3 MB, free: 17.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.2056, allocations: 383.9 kB / 418.7 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.2062, allocations: 0.9084 MB / 419.6 MB, free: 16.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2062, allocations: 0 / 419.6 MB, free: 16.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2062, allocations: 0 / 419.6 MB, free: 16.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.2062, allocations: 0 / 419.6 MB, free: 16.08 MB / 298.7 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.002993/0.2092, allocations: 1.284 MB / 420.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2092, allocations: 8.031 kB / 420.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.2106, allocations: 259.6 kB / 421.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2108, allocations: 259.1 kB / 421.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.2109, allocations: 74.38 kB / 421.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.211, allocations: 104.2 kB / 421.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.2122, allocations: 0.9425 MB / 422.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.2122, allocations: 0 / 422.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.2123, allocations: 40 kB / 422.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2123, allocations: 24 kB / 422.6 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2134, allocations: 0.7731 MB / 423.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.2173, allocations: 3.645 MB / 427 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2188, allocations: 1.259 MB / 428.3 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.2192, allocations: 368.4 kB / 428.6 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.2193, allocations: 183.2 kB / 428.8 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2194, allocations: 47.56 kB / 428.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.184e-06/0.2194, allocations: 0 / 428.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001683/0.2211, allocations: 1.296 MB / 430.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.2211, allocations: 90.05 kB / 430.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.2214, allocations: 368.2 kB / 430.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.2214, allocations: 41.73 kB / 430.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2216, allocations: 386.8 kB / 431 MB, free: 4.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.2217, allocations: 299.7 kB / 431.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.2217, allocations: 20 kB / 431.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.2218, allocations: 358.8 kB / 431.7 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.2222, allocations: 262.5 kB / 431.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.2226, allocations: 467.5 kB / 432.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008339/0.2234, allocations: 0.7666 MB / 433.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2235, allocations: 4 kB / 433.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001266/0.2247, allocations: 0.9649 MB / 434.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2248, allocations: 8 kB / 434.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2248, allocations: 8 kB / 434.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.2251, allocations: 119.5 kB / 434.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.2258, allocations: 207.7 kB / 434.5 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.2295, allocations: 5.571 MB / 440 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.23, allocations: 102.9 kB / 440.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.2301, allocations: 36 kB / 440.2 MB, free: 10.16 MB / 314.7 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.0002985/0.2304, allocations: 233.6 kB / 440.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.2305, allocations: 47.62 kB / 440.4 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.2319, allocations: 0.8519 MB / 441.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2319, allocations: 8 kB / 441.3 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2319, allocations: 11.94 kB / 441.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2319, allocations: 3.984 kB / 441.3 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.2346, allocations: 2.074 MB / 443.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2346, allocations: 4 kB / 443.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.2352, allocations: 143.7 kB / 443.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.2355, allocations: 107.6 kB / 443.6 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.2355, allocations: 20 kB / 443.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.2388, allocations: 5.298 MB / 449 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.2388, allocations: 7.938 kB / 449 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2405, allocations: 1.26 MB / 450.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.2406, allocations: 152.2 kB / 450.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.2407, allocations: 23.92 kB / 450.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.2411, allocations: 23.98 kB / 450.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.2412, allocations: 64.45 kB / 450.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.2412, allocations: 28.06 kB / 450.5 MB, free: 15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.2415, allocations: 255.2 kB / 450.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2415, allocations: 3.938 kB / 450.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007956/0.2423, allocations: 255.4 kB / 451 MB, free: 14.5 MB / 330.7 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.0002426/0.2425, allocations: 164 kB / 451.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.244, allocations: 1.164 MB / 452.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.244, allocations: 1.438 kB / 452.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.2448, allocations: 0.788 MB / 453.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.2455, allocations: 57.42 kB / 453.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.2478, allocations: 1.759 MB / 454.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.2483, allocations: 0.9149 MB / 455.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.2486, allocations: 59.44 kB / 455.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2486, allocations: 0 / 455.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of Templates: time 0.02267/0.2712, allocations: 20.86 MB / 476.8 MB, free: 4.531 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches