Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 43.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2019, allocations: 53.38 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005586/0.2074, allocations: 3.788 MB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.2101, allocations: 1.619 MB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2102, allocations: 12 kB / 437.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.2125, allocations: 0.945 MB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.213, allocations: 246.2 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.2145, allocations: 0.7153 MB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.2151, allocations: 0.6105 MB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006681/0.2158, allocations: 447.1 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.2162, allocations: 267 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.2166, allocations: 338.6 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.2166, allocations: 56 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.2171, allocations: 283.8 kB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.2172, allocations: 127.5 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.2175, allocations: 258.8 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.2185, allocations: 0.9447 MB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2185, allocations: 0 / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2185, allocations: 0 / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.2185, allocations: 0 / 443 MB, free: 12.05 MB / 350.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.003774/0.2223, allocations: 1.161 MB / 444.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2224, allocations: 16.02 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.2237, allocations: 176.4 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.2239, allocations: 182.4 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.2239, allocations: 58.38 kB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.224, allocations: 64.33 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2254, allocations: 0.7328 MB / 445.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.2254, allocations: 4 kB / 445.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.2255, allocations: 28 kB / 445.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.2255, allocations: 16 kB / 445.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2268, allocations: 0.5984 MB / 446 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.2301, allocations: 1.775 MB / 447.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2314, allocations: 0.6774 MB / 448.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.2319, allocations: 253.8 kB / 448.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.2321, allocations: 24.62 kB / 448.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.2321, allocations: 43.22 kB / 448.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.024e-06/0.2321, allocations: 0 / 448.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001619/0.2337, allocations: 0.7085 MB / 449.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.2338, allocations: 111.5 kB / 449.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.2341, allocations: 251.9 kB / 449.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.2341, allocations: 33.7 kB / 449.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.2343, allocations: 272.7 kB / 450.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.2345, allocations: 242 kB / 450.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.2347, allocations: 118.7 kB / 450.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2348, allocations: 342.8 kB / 450.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.2353, allocations: 217.9 kB / 451 MB, free: 3.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.2359, allocations: 327 kB / 451.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.237, allocations: 0.5185 MB / 451.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.237, allocations: 4 kB / 451.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001308/0.2383, allocations: 0.6453 MB / 452.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2383, allocations: 4 kB / 452.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2383, allocations: 4 kB / 452.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2383, allocations: 4 kB / 452.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.2391, allocations: 155.8 kB / 452.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2391, allocations: 4 kB / 452.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.2396, allocations: 75.66 kB / 452.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.2396, allocations: 24 kB / 452.8 MB, free: 1.949 MB / 350.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.0002305/0.2398, allocations: 185.7 kB / 452.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.24, allocations: 43.75 kB / 453 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2413, allocations: 0.5986 MB / 453.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.2413, allocations: 8 kB / 453.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2413, allocations: 4 kB / 453.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2413, allocations: 3.984 kB / 453.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.2434, allocations: 1.109 MB / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2434, allocations: 0 / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.244, allocations: 127.8 kB / 454.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.244, allocations: 4 kB / 454.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.2441, allocations: 19.94 kB / 454.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2441, allocations: 4 kB / 454.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2441, allocations: 0 / 454.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.2458, allocations: 0.9784 MB / 455.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.2459, allocations: 47.59 kB / 455.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.246, allocations: 12 kB / 455.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.2464, allocations: 28.05 kB / 455.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2465, allocations: 56.44 kB / 456 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.2465, allocations: 20 kB / 456 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.2467, allocations: 176.5 kB / 456.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2467, allocations: 0 / 456.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.2473, allocations: 175.7 kB / 456.3 MB, free: 14.3 MB / 366.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.0002365/0.2475, allocations: 159.1 kB / 456.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.2486, allocations: 0.5013 MB / 457 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2486, allocations: 0 / 457 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.2491, allocations: 251.6 kB / 457.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.2497, allocations: 55.55 kB / 457.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.2517, allocations: 1.046 MB / 458.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.252, allocations: 245.1 kB / 458.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003464/0.2524, allocations: 79.33 kB / 458.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.2525, allocations: 47.42 kB / 458.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2525, allocations: 0 / 458.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01196/0.2645, allocations: 5.869 MB / 464.6 MB, free: 6.082 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.405189457000233]