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.001353/0.001353, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001511/0.001511, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 8 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.2629/0.2629, allocations: 46.93 MB / 360.8 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.0036/0.0036, allocations: 75.88 kB / 0.4966 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4029, allocations: 66.02 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004596/0.4075, allocations: 2.443 MB / 0.5635 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.4099, allocations: 0.9835 MB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.4102, allocations: 19.81 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.4107, allocations: 119.2 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.4111, allocations: 95.38 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.412, allocations: 295.5 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009368/0.4129, allocations: 0.7133 MB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.4131, allocations: 60.8 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.4135, allocations: 307 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.414, allocations: 342.7 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.765e-05/0.4141, allocations: 60 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.4142, allocations: 60 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.4144, allocations: 195.4 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.4147, allocations: 246.7 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.4154, allocations: 0.5551 MB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4154, allocations: 0 / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4154, allocations: 0 / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.4154, allocations: 0 / 0.5674 GB, free: 13.95 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.002394/0.4178, allocations: 0.8791 MB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4178, allocations: 8.031 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.4179, allocations: 64.61 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.4186, allocations: 313.1 kB / 0.5686 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000633/0.4192, allocations: 0.6708 MB / 0.5693 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4193, allocations: 40.38 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.4214, allocations: 0.8125 MB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.4214, allocations: 3.938 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.4215, allocations: 20 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.4215, allocations: 12 kB / 0.5702 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/0.4249, allocations: 1.196 MB / 0.5713 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.4282, allocations: 1.995 MB / 0.5733 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.4312, allocations: 0.786 MB / 0.574 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4326, allocations: 453.3 kB / 0.5745 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/0.4327, allocations: 8 kB / 0.5745 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.4328, allocations: 42.5 kB / 0.5745 GB, free: 6.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.464e-06/0.4328, allocations: 0 / 0.5745 GB, free: 6.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08934/0.5221, allocations: 15.48 MB / 0.5896 GB, free: 6.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.5222, allocations: 94.11 kB / 0.5897 GB, free: 6.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.5227, allocations: 385.5 kB / 0.5901 GB, free: 6.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.5229, allocations: 45.7 kB / 0.5901 GB, free: 6.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.5231, allocations: 233.5 kB / 0.5904 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/0.5236, allocations: 404.5 kB / 0.5908 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005803/0.5242, allocations: 206.8 kB / 0.591 GB, free: 5.352 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.5244, allocations: 370.8 kB / 0.5913 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003916/0.5283, allocations: 1.342 MB / 0.5926 GB, free: 3.641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.5323, allocations: 1.505 MB / 0.5941 GB, free: 2.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007328/0.5396, allocations: 2.432 MB / 0.5965 GB, free: 15.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5396, allocations: 4 kB / 0.5965 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008214/0.5478, allocations: 2.827 MB / 0.5992 GB, free: 12.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.5479, allocations: 12.19 kB / 0.5992 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5479, allocations: 8 kB / 0.5992 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.5479, allocations: 8 kB / 0.5993 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/0.5507, allocations: 407.4 kB / 0.5996 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.5508, allocations: 15.88 kB / 0.5997 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.5529, allocations: 215.7 kB / 0.5999 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.5531, allocations: 43.92 kB / 0.5999 GB, free: 12.07 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: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.0006145/0.5537, allocations: 233.5 kB / 0.6001 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.5539, allocations: 63.62 kB / 0.6002 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.5542, allocations: 108.7 kB / 0.6003 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.5543, allocations: 16 kB / 0.6003 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/0.5543, allocations: 3.938 kB / 0.6003 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.5543, allocations: 11.97 kB / 0.6003 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.5667, allocations: 5.201 MB / 0.6054 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.5667, allocations: 20 kB / 0.6054 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.5682, allocations: 351.6 kB / 0.6058 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.979e-05/0.5683, allocations: 28 kB / 0.6058 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.504e-05/0.5684, allocations: 51.92 kB / 0.6058 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.154e-05/0.5684, allocations: 43.8 kB / 0.6059 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-05/0.5684, allocations: 31.88 kB / 0.6059 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/0.5759, allocations: 3.095 MB / 0.6089 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.5764, allocations: 171.5 kB / 0.6091 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.5765, allocations: 51.98 kB / 0.6091 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.5778, allocations: 187.8 kB / 0.6093 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004502/0.5783, allocations: 223.2 kB / 0.6095 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5784, allocations: 56 kB / 0.6096 GB, free: 1.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000337/0.5787, allocations: 267.1 kB / 0.6098 GB, free: 1.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5787, allocations: 0 / 0.6098 GB, free: 1.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001073/0.5798, allocations: 228 kB / 0.6101 GB, free: 1.027 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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.0002559/0.58, allocations: 172.6 kB / 0.6102 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006489/0.5865, allocations: 2.155 MB / 0.6123 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.5865, allocations: 4 kB / 0.6123 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00348/0.59, allocations: 1.047 MB / 0.6134 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5913, allocations: 147.5 kB / 0.6135 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.5958, allocations: 1.971 MB / 0.6154 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.5966, allocations: 0.9282 MB / 0.6163 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.5976, allocations: 214.1 kB / 0.6165 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.5982, allocations: 71.42 kB / 0.6166 GB, free: 9.988 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5982, allocations: 0 / 0.6166 GB, free: 9.988 MB / 462.1 MB Notification: Performance of Templates: time 0.03322/0.6314, allocations: 17.77 MB / 0.6339 GB, free: 8.238 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/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: 6.443694506073371]