Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.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.001769/0.001769, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002363/0.002363, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 46.96 MB / 361.6 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 66.04 MB / 0.5618 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003497/0.3042, allocations: 2.245 MB / 0.564 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3059, allocations: 0.9446 MB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3061, allocations: 11.88 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3065, allocations: 107.3 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.3068, allocations: 107.3 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008105/0.3076, allocations: 303.4 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009152/0.3085, allocations: 0.7211 MB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3087, allocations: 55.91 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.309, allocations: 291.2 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.3095, allocations: 354.6 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3096, allocations: 60 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3097, allocations: 64 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.3099, allocations: 207.4 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.3101, allocations: 203 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.3107, allocations: 0.5756 MB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3107, allocations: 0 / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3107, allocations: 0 / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3107, allocations: 0 / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002466/0.3132, allocations: 0.8831 MB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3132, allocations: 8.031 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3133, allocations: 68.61 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.314, allocations: 317 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006081/0.3146, allocations: 0.6747 MB / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3147, allocations: 48.31 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.3169, allocations: 0.8165 MB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.317, allocations: 0 / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.317, allocations: 19.94 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.317, allocations: 12 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.3208, allocations: 1.212 MB / 0.5718 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.3238, allocations: 1.837 MB / 0.5736 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.3266, allocations: 0.7482 MB / 0.5744 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.3282, allocations: 466.4 kB / 0.5748 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/0.3282, allocations: 12.56 kB / 0.5748 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3283, allocations: 39.69 kB / 0.5748 GB, free: 6.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.555e-06/0.3283, allocations: 0 / 0.5748 GB, free: 6.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.09746/0.4257, allocations: 15.55 MB / 0.59 GB, free: 6.875 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.4258, allocations: 90.11 kB / 0.5901 GB, free: 6.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.4264, allocations: 417.4 kB / 0.5905 GB, free: 6.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.4266, allocations: 45.7 kB / 0.5906 GB, free: 6.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.4268, allocations: 225.5 kB / 0.5908 GB, free: 6.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/0.4272, allocations: 424.3 kB / 0.5912 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006415/0.4279, allocations: 206.8 kB / 0.5914 GB, free: 5.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.428, allocations: 378.7 kB / 0.5917 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.4318, allocations: 1.353 MB / 0.5931 GB, free: 3.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003876/0.4357, allocations: 1.505 MB / 0.5945 GB, free: 2.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006849/0.4425, allocations: 2.451 MB / 0.5969 GB, free: 15.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4425, allocations: 8 kB / 0.5969 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008019/0.4505, allocations: 2.851 MB / 0.5997 GB, free: 12.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4506, allocations: 7.938 kB / 0.5997 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4506, allocations: 4 kB / 0.5997 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.4506, allocations: 8 kB / 0.5997 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/0.4536, allocations: 407.5 kB / 0.6001 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.4536, allocations: 11.94 kB / 0.6001 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.4558, allocations: 227.6 kB / 0.6003 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.456, allocations: 43.98 kB / 0.6004 GB, free: 12.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0005349/0.4565, allocations: 229.9 kB / 0.6006 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.4568, allocations: 67.58 kB / 0.6007 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.457, allocations: 116.7 kB / 0.6008 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4571, allocations: 12 kB / 0.6008 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.046e-06/0.4571, allocations: 4 kB / 0.6008 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4571, allocations: 7.922 kB / 0.6008 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.4691, allocations: 4.785 MB / 0.6055 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/0.4691, allocations: 20.22 kB / 0.6055 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.4707, allocations: 359.3 kB / 0.6058 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-05/0.4707, allocations: 32 kB / 0.6059 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.4708, allocations: 48 kB / 0.6059 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.82e-05/0.4709, allocations: 43.8 kB / 0.606 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-05/0.4709, allocations: 31.88 kB / 0.606 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007651/0.4785, allocations: 3.149 MB / 0.6091 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.4791, allocations: 171.5 kB / 0.6092 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.4792, allocations: 51.98 kB / 0.6093 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.4806, allocations: 191.8 kB / 0.6095 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.481, allocations: 223.2 kB / 0.6097 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.4812, allocations: 63.98 kB / 0.6097 GB, free: 1.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.4815, allocations: 279.1 kB / 0.61 GB, free: 1.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4815, allocations: 3.938 kB / 0.61 GB, free: 1.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001044/0.4825, allocations: 232 kB / 0.6102 GB, free: 1.395 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.0002327/0.4828, allocations: 166.8 kB / 0.6104 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006319/0.4891, allocations: 2.187 MB / 0.6125 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.408e-05/0.4891, allocations: 0 / 0.6125 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003545/0.4927, allocations: 1.067 MB / 0.6136 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.4941, allocations: 143.2 kB / 0.6137 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.4983, allocations: 1.983 MB / 0.6156 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.4987, allocations: 329.8 kB / 0.616 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.4998, allocations: 210 kB / 0.6162 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.5004, allocations: 71.42 kB / 0.6162 GB, free: 10.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5004, allocations: 0 / 0.6162 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Templates: time 0.02923/0.5297, allocations: 18.88 MB / 0.6347 GB, free: 8.168 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.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: 5.5808755600010045]