Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009272/0.0009273, allocations: 117.8 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008929/0.0008929, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2344, allocations: 50.44 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004629/0.2391, allocations: 4.187 MB / 411.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.2415, allocations: 1.714 MB / 413 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2417, allocations: 12 kB / 413 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.2435, allocations: 0.9536 MB / 413.9 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.2441, allocations: 198.8 kB / 414.1 MB, free: 20.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.2453, allocations: 0.7556 MB / 414.9 MB, free: 19.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.2457, allocations: 0.5909 MB / 415.5 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/0.2463, allocations: 445.8 kB / 415.9 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.2466, allocations: 247 kB / 416.1 MB, free: 18.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2469, allocations: 330.6 kB / 416.5 MB, free: 18.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.2469, allocations: 40 kB / 416.5 MB, free: 18.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.2474, allocations: 279.7 kB / 416.8 MB, free: 18.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.2475, allocations: 119.5 kB / 416.9 MB, free: 17.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2476, allocations: 290.5 kB / 417.2 MB, free: 17.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.2483, allocations: 0.9204 MB / 418.1 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2483, allocations: 0 / 418.1 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2483, allocations: 0 / 418.1 MB, free: 16.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2483, allocations: 0 / 418.1 MB, free: 16.73 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003095/0.2514, allocations: 1.229 MB / 419.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.2515, allocations: 8.031 kB / 419.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.2526, allocations: 184 kB / 419.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.2528, allocations: 240.1 kB / 419.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.2528, allocations: 46.38 kB / 419.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.22e-05/0.2529, allocations: 72.38 kB / 419.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2539, allocations: 0.7077 MB / 420.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.254, allocations: 3.984 kB / 420.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.254, allocations: 28 kB / 420.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2541, allocations: 16 kB / 420.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2551, allocations: 0.5986 MB / 421.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.2578, allocations: 2.34 MB / 423.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.259, allocations: 1.623 MB / 425.2 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.2595, allocations: 294.9 kB / 425.5 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.2596, allocations: 178.8 kB / 425.6 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2597, allocations: 39.12 kB / 425.7 MB, free: 8.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.275e-06/0.2597, allocations: 0 / 425.7 MB, free: 8.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001428/0.2611, allocations: 0.7016 MB / 426.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2612, allocations: 111.4 kB / 426.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.2614, allocations: 264.9 kB / 426.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2614, allocations: 33.7 kB / 426.8 MB, free: 7.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.2615, allocations: 260 kB / 427 MB, free: 7.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/0.2616, allocations: 220.9 kB / 427.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.2618, allocations: 126.6 kB / 427.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.2618, allocations: 346.8 kB / 427.7 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.2622, allocations: 205.9 kB / 427.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.2627, allocations: 305.4 kB / 428.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/0.2636, allocations: 0.5181 MB / 428.7 MB, free: 5.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2636, allocations: 0 / 428.7 MB, free: 5.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001061/0.2647, allocations: 0.6258 MB / 429.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2647, allocations: 4 kB / 429.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2647, allocations: 7.984 kB / 429.4 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2647, allocations: 4 kB / 429.4 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.2654, allocations: 163.7 kB / 429.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2654, allocations: 4 kB / 429.5 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.2658, allocations: 71.36 kB / 429.6 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.2659, allocations: 27.98 kB / 429.6 MB, free: 4.547 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.2661, allocations: 189.7 kB / 429.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.2661, allocations: 35.53 kB / 429.9 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.2673, allocations: 0.6123 MB / 430.5 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2673, allocations: 4 kB / 430.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2673, allocations: 0 / 430.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2673, allocations: 11.98 kB / 430.5 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.269, allocations: 1.288 MB / 431.8 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.269, allocations: 0 / 431.8 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.2695, allocations: 123.9 kB / 431.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2695, allocations: 11.94 kB / 431.9 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.2696, allocations: 15.94 kB / 431.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.2696, allocations: 7.938 kB / 431.9 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2696, allocations: 3.984 kB / 431.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.2722, allocations: 2.166 MB / 434.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2723, allocations: 124.6 kB / 434.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.2724, allocations: 16 kB / 434.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.2728, allocations: 27.97 kB / 434.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.273, allocations: 44.44 kB / 434.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.273, allocations: 20 kB / 434.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2732, allocations: 196.5 kB / 434.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2732, allocations: 0 / 434.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006853/0.2739, allocations: 195.5 kB / 434.7 MB, free: 15.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000273/0.2742, allocations: 159.1 kB / 434.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2754, allocations: 0.5312 MB / 435.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.2754, allocations: 0 / 435.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.2759, allocations: 279.4 kB / 435.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.2764, allocations: 45.14 kB / 435.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.2789, allocations: 1.668 MB / 437.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.2793, allocations: 0.8541 MB / 438.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.2798, allocations: 87.39 kB / 438.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2799, allocations: 43.42 kB / 438.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2799, allocations: 0 / 438.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of Templates: time 0.009109/0.289, allocations: 5.065 MB / 443.4 MB, free: 6.48 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches