Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 107.8 kB / 18.36 MB, free: 4.844 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.001025/0.001025, allocations: 184.2 kB / 19.29 MB, free: 3.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 43.94 kB / 329.1 MB, free: 3.348 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07079/0.07195, allocations: 46.62 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1515/0.2235, allocations: 5.208 MB / 381 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.2261, allocations: 1.719 MB / 382.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.2266, allocations: 16.5 kB / 382.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.2296, allocations: 1.414 MB / 384.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008891/0.2305, allocations: 323 kB / 384.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.232, allocations: 0.8024 MB / 385.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009539/0.233, allocations: 0.8152 MB / 386.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009457/0.2339, allocations: 0.7542 MB / 386.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.2343, allocations: 354.5 kB / 387.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.2347, allocations: 467 kB / 387.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.088e-05/0.2348, allocations: 74.75 kB / 387.7 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.2354, allocations: 264.7 kB / 387.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2355, allocations: 175.7 kB / 388.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.2358, allocations: 425 kB / 388.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.2368, allocations: 1.184 MB / 389.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2369, allocations: 0 / 389.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2369, allocations: 1.062 kB / 389.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2369, allocations: 3.938 kB / 389.7 MB, free: 7.012 MB / 318.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.003755/0.2406, allocations: 1.444 MB / 391.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2407, allocations: 8.375 kB / 391.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.2424, allocations: 253.8 kB / 391.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2426, allocations: 261.4 kB / 391.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.2427, allocations: 76.59 kB / 391.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.2428, allocations: 105.1 kB / 391.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.2442, allocations: 0.9412 MB / 392.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.2442, allocations: 5.312 kB / 392.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.2443, allocations: 41.64 kB / 392.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2444, allocations: 23 kB / 392.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.2456, allocations: 0.7773 MB / 393.6 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.2501, allocations: 3.355 MB / 397 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.2519, allocations: 1.27 MB / 398.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.2524, allocations: 370.6 kB / 398.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.93e-05/0.2525, allocations: 101.4 kB / 398.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2525, allocations: 39.22 kB / 398.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/0.2525, allocations: 0 / 398.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002031/0.2546, allocations: 1.308 MB / 400.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2546, allocations: 91.89 kB / 400.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.255, allocations: 364.2 kB / 400.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.255, allocations: 41.27 kB / 400.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.2552, allocations: 373.5 kB / 400.9 MB, free: 348 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.2553, allocations: 302.4 kB / 401.2 MB, free: 104 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.2556, allocations: 179.9 kB / 401.4 MB, free: 4 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2558, allocations: 356.9 kB / 401.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.2562, allocations: 267.5 kB / 402 MB, free: 15.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.2568, allocations: 470.3 kB / 402.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.2579, allocations: 0.7711 MB / 403.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.2579, allocations: 5.125 kB / 403.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001652/0.2596, allocations: 0.9814 MB / 404.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2596, allocations: 7.219 kB / 404.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.2596, allocations: 5.5 kB / 404.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.26, allocations: 127.5 kB / 404.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.2608, allocations: 204.2 kB / 404.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/0.2649, allocations: 6.124 MB / 410.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.2655, allocations: 101.5 kB / 410.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.2656, allocations: 44.47 kB / 410.8 MB, free: 7.992 MB / 334.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.0003021/0.2659, allocations: 227.6 kB / 411 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.266, allocations: 53.25 kB / 411.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.2676, allocations: 0.844 MB / 411.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.2676, allocations: 8.547 kB / 412 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.2676, allocations: 1.344 kB / 412 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2677, allocations: 141.2 kB / 412.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.2678, allocations: 15.12 kB / 412.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.2682, allocations: 19.81 kB / 412.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.2683, allocations: 64.53 kB / 412.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001654/0.2699, allocations: 0.9108 MB / 413.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001492/0.2714, allocations: 1.158 MB / 414.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003891/0.2718, allocations: 270.2 kB / 414.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002757/0.2721, allocations: 253.4 kB / 414.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of Backend: time 4.5e-07/0.2721, allocations: 0 / 414.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.274, allocations: 1.12 MB / 415.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of SimCode: time 0.001817/0.2758, allocations: 1.621 MB / 417.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of Templates: time 0.01606/0.2919, allocations: 10.29 MB / 427.8 MB, free: 10.4 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches