Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 70.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 153 kB / 24.49 MB, free: 3.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 47 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.08382, allocations: 52.15 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005467/0.08929, allocations: 3.801 MB / 375.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.09186, allocations: 1.538 MB / 376.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.09202, allocations: 12 kB / 376.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.0944, allocations: 0.9917 MB / 377.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.09487, allocations: 242.2 kB / 378.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.09645, allocations: 0.7472 MB / 378.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006551/0.0971, allocations: 0.6222 MB / 379.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/0.09777, allocations: 431.2 kB / 379.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.09812, allocations: 279 kB / 380.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.09855, allocations: 294.6 kB / 380.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.621e-05/0.09863, allocations: 56 kB / 380.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.09909, allocations: 259.7 kB / 380.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.09921, allocations: 127.5 kB / 380.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.09946, allocations: 250.8 kB / 381.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1005, allocations: 0.9418 MB / 382.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1005, allocations: 0 / 382.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1005, allocations: 0 / 382.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1006, allocations: 0 / 382.1 MB, free: 12.75 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.003659/0.1042, allocations: 1.133 MB / 383.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1043, allocations: 16.92 kB / 383.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.1054, allocations: 180.4 kB / 383.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1056, allocations: 182.4 kB / 383.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.1057, allocations: 50.38 kB / 383.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.1058, allocations: 64.38 kB / 383.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.1072, allocations: 0.7289 MB / 384.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.1072, allocations: 3.953 kB / 384.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.1073, allocations: 31.94 kB / 384.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.1073, allocations: 19.98 kB / 384.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.1086, allocations: 0.6024 MB / 385.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.1119, allocations: 1.76 MB / 386.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.1133, allocations: 0.6687 MB / 387.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.1138, allocations: 251.6 kB / 387.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.99e-05/0.1139, allocations: 16.64 kB / 387.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.1139, allocations: 47.25 kB / 387.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.385e-06/0.1139, allocations: 0 / 387.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001744/0.1157, allocations: 0.7047 MB / 388.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.1158, allocations: 115.4 kB / 388.7 MB, free: 6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.116, allocations: 244 kB / 388.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.1161, allocations: 37.7 kB / 389 MB, free: 5.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1163, allocations: 280.5 kB / 389.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.1165, allocations: 234 kB / 389.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.1167, allocations: 114.7 kB / 389.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1168, allocations: 342.8 kB / 389.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.1173, allocations: 209.9 kB / 390.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.1179, allocations: 331.1 kB / 390.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.119, allocations: 0.5146 MB / 391 MB, free: 3.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.119, allocations: 4 kB / 391 MB, free: 3.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001315/0.1203, allocations: 0.6258 MB / 391.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1204, allocations: 14.98 kB / 391.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1204, allocations: 4 kB / 391.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1204, allocations: 4 kB / 391.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.1211, allocations: 159.7 kB / 391.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1211, allocations: 8 kB / 391.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.1217, allocations: 75.44 kB / 391.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.1217, allocations: 27.98 kB / 391.9 MB, free: 2.719 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.000231/0.1219, allocations: 185.7 kB / 392 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.122, allocations: 35.81 kB / 392.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.1234, allocations: 0.6065 MB / 392.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1234, allocations: 4 kB / 392.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1234, allocations: 4 kB / 392.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1234, allocations: 3.984 kB / 392.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.1255, allocations: 1.101 MB / 393.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1255, allocations: 7.938 kB / 393.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.1261, allocations: 127.9 kB / 393.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.1261, allocations: 7.984 kB / 393.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.1261, allocations: 16 kB / 394 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1261, allocations: 0 / 394 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1261, allocations: 4 kB / 394 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.1279, allocations: 0.9862 MB / 394.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.128, allocations: 43.67 kB / 395 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.128, allocations: 15.94 kB / 395 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.1284, allocations: 27.97 kB / 395 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1285, allocations: 44.52 kB / 395.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.1286, allocations: 19.98 kB / 395.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1288, allocations: 181.2 kB / 395.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1288, allocations: 3.938 kB / 395.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005453/0.1293, allocations: 175.6 kB / 395.5 MB, free: 15.06 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.0002418/0.1295, allocations: 159.1 kB / 395.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.1307, allocations: 0.5052 MB / 396.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1307, allocations: 0 / 396.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.1312, allocations: 244 kB / 396.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.1317, allocations: 52.72 kB / 396.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1337, allocations: 1.085 MB / 397.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.134, allocations: 245.1 kB / 397.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.1343, allocations: 79.34 kB / 397.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1345, allocations: 44.48 kB / 397.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1345, allocations: 3.938 kB / 397.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01044/0.1449, allocations: 4.889 MB / 402.7 MB, free: 7.785 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.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.54863978899084]