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/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: 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/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001664, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 60.23 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08341/0.08461, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004794/0.08944, allocations: 4.186 MB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.09181, allocations: 1.713 MB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.09197, allocations: 19.94 kB / 364.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.09413, allocations: 1.011 MB / 365.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.09458, allocations: 234.2 kB / 366.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.09605, allocations: 0.7582 MB / 366.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005623/0.09662, allocations: 0.614 MB / 367.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006582/0.09729, allocations: 0.4915 MB / 367.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.09764, allocations: 263 kB / 368.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.09802, allocations: 338.6 kB / 368.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.09811, allocations: 56 kB / 368.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.09858, allocations: 291.8 kB / 368.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.09869, allocations: 127.5 kB / 369 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.09896, allocations: 310.5 kB / 369.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.09985, allocations: 0.9345 MB / 370.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09986, allocations: 4 kB / 370.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.09987, allocations: 4 kB / 370.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.09988, allocations: 3.938 kB / 370.2 MB, free: 1.941 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003411/0.1033, allocations: 1.221 MB / 371.4 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1033, allocations: 12.03 kB / 371.5 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.1046, allocations: 180.1 kB / 371.6 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1048, allocations: 237.8 kB / 371.9 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.1049, allocations: 58.31 kB / 371.9 MB, free: 156 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.105, allocations: 64.38 kB / 372 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1345/0.2395, allocations: 0.6949 MB / 372.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2396, allocations: 0.9375 kB / 372.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.2397, allocations: 32.31 kB / 372.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.2397, allocations: 15.81 kB / 372.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.2409, allocations: 0.6001 MB / 373.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.2439, allocations: 2.309 MB / 375.6 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.2452, allocations: 1.623 MB / 377.3 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.2456, allocations: 279.8 kB / 377.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.2458, allocations: 174.6 kB / 377.7 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2458, allocations: 44.05 kB / 377.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 1.973e-06/0.2458, allocations: 1.375 kB / 377.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.00138/0.2472, allocations: 0.6992 MB / 378.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2473, allocations: 111.8 kB / 378.6 MB, free: 16.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.2475, allocations: 255.7 kB / 378.8 MB, free: 16.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2476, allocations: 35.05 kB / 378.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.2477, allocations: 270 kB / 379.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2478, allocations: 221.9 kB / 379.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.2479, allocations: 114.1 kB / 379.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.248, allocations: 353.5 kB / 379.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.2485, allocations: 214.4 kB / 380 MB, free: 15.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.249, allocations: 297.5 kB / 380.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.2498, allocations: 0.5107 MB / 380.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2498, allocations: 1.531 kB / 380.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001115/0.2509, allocations: 0.6318 MB / 381.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.251, allocations: 6 kB / 381.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.251, allocations: 2 kB / 381.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.251, allocations: 5.453 kB / 381.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.2517, allocations: 157.5 kB / 381.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2517, allocations: 5.266 kB / 381.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.2521, allocations: 73.08 kB / 381.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.2522, allocations: 22.31 kB / 381.7 MB, free: 14.46 MB / 302.1 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.0001611/0.2524, allocations: 194.3 kB / 381.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.2525, allocations: 38.09 kB / 381.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.2536, allocations: 0.6031 MB / 382.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.2536, allocations: 11.64 kB / 382.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2536, allocations: 0 / 382.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2536, allocations: 3.469 kB / 382.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.2555, allocations: 1.282 MB / 383.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2555, allocations: 0 / 383.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.256, allocations: 131.5 kB / 383.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.256, allocations: 8.281 kB / 384 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.2561, allocations: 12.38 kB / 384 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.2561, allocations: 7.578 kB / 384 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2561, allocations: 0 / 384 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.2575, allocations: 0.9673 MB / 384.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.2576, allocations: 139.1 kB / 385.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.2577, allocations: 11.44 kB / 385.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.2581, allocations: 26.8 kB / 385.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.2582, allocations: 44.2 kB / 385.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.2582, allocations: 21.14 kB / 385.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.2584, allocations: 191.9 kB / 385.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2584, allocations: 4 kB / 385.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.2589, allocations: 175.8 kB / 385.5 MB, free: 12.45 MB / 302.1 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.0002142/0.2591, allocations: 147.8 kB / 385.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2601, allocations: 0.5365 MB / 386.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2602, allocations: 5.625 kB / 386.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.2606, allocations: 269.9 kB / 386.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.2611, allocations: 50.45 kB / 386.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.2629, allocations: 1.069 MB / 387.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.2632, allocations: 0.8449 MB / 388.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.2636, allocations: 78.06 kB / 388.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.2637, allocations: 40.38 kB / 388.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2637, allocations: 0 / 388.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Templates: time 0.008808/0.2725, allocations: 5.113 MB / 393.7 MB, free: 9.055 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches