Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001306/0.001306, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.314/1.314, allocations: 170.6 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001709/0.001709, allocations: 101.2 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1798/0.1798, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.384e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2807, allocations: 48.69 MB / 398.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3976, allocations: 76.01 MB / 474.7 MB, free: 7.117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.3979, allocations: 67.91 kB / 474.8 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03484/0.4327, allocations: 11.35 MB / 486.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4328, allocations: 0 / 486.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.404e-05/0.4328, allocations: 8 kB / 486.1 MB, free: 11.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002183/0.435, allocations: 0.8656 MB / 487 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4351, allocations: 12.03 kB / 487 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.4353, allocations: 60.12 kB / 487.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.4359, allocations: 337.3 kB / 487.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/0.4364, allocations: 254.9 kB / 487.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.4365, allocations: 31.91 kB / 487.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/0.438, allocations: 0.7981 MB / 488.5 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.4389, allocations: 0.5011 MB / 489 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.4389, allocations: 0 / 489 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.439, allocations: 0 / 489 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.439, allocations: 8 kB / 489 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.4417, allocations: 1.338 MB / 490.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.4431, allocations: 0.5686 MB / 490.9 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/0.4436, allocations: 290.8 kB / 491.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.4437, allocations: 4.562 kB / 491.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.4438, allocations: 43.08 kB / 491.2 MB, free: 6.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.725e-06/0.4438, allocations: 0 / 491.2 MB, free: 6.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.02002/0.4638, allocations: 7.103 MB / 498.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4639, allocations: 94.22 kB / 498.4 MB, free: 15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.4644, allocations: 306.2 kB / 498.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.4645, allocations: 33.69 kB / 498.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.4647, allocations: 185.3 kB / 498.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.4651, allocations: 382.2 kB / 499.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.4652, allocations: 0 / 499.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4654, allocations: 370.8 kB / 499.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.4669, allocations: 0.9439 MB / 0.4889 GB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.4685, allocations: 1.04 MB / 0.4899 GB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4697, allocations: 0.7852 MB / 0.4907 GB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4697, allocations: 0 / 0.4907 GB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00326/0.473, allocations: 1.956 MB / 0.4926 GB, free: 8.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.473, allocations: 7.984 kB / 0.4926 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.473, allocations: 4 kB / 0.4926 GB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.4731, allocations: 4 kB / 0.4926 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.4758, allocations: 451.5 kB / 0.493 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.4759, allocations: 11.98 kB / 0.493 GB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.478, allocations: 251.7 kB / 0.4933 GB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/0.4782, allocations: 39.98 kB / 0.4933 GB, free: 8.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.4786, allocations: 128.6 kB / 0.4934 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.479, allocations: 63.19 kB / 0.4935 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.4793, allocations: 88.05 kB / 0.4936 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4794, allocations: 16 kB / 0.4936 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.4794, allocations: 7.938 kB / 0.4936 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.4794, allocations: 7.969 kB / 0.4936 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008951/0.4884, allocations: 4.542 MB / 0.498 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/0.4885, allocations: 20 kB / 0.4981 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.4901, allocations: 411.6 kB / 0.4985 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.464e-05/0.4901, allocations: 32 kB / 0.4985 GB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/0.4902, allocations: 28 kB / 0.4985 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.839e-05/0.4903, allocations: 43.84 kB / 0.4986 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-05/0.4903, allocations: 31.88 kB / 0.4986 GB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.4941, allocations: 3.243 MB / 0.5017 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.4945, allocations: 240.3 kB / 0.502 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.4947, allocations: 35.97 kB / 0.502 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.4961, allocations: 231.8 kB / 0.5022 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/0.4966, allocations: 235.2 kB / 0.5025 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.4968, allocations: 60 kB / 0.5025 GB, free: 13.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.4971, allocations: 237.9 kB / 0.5027 GB, free: 13.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4971, allocations: 0 / 0.5027 GB, free: 13.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001069/0.4982, allocations: 200 kB / 0.5029 GB, free: 13.13 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002855/0.4985, allocations: 148.5 kB / 0.5031 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002799/0.5013, allocations: 1.591 MB / 0.5046 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.5013, allocations: 4 kB / 0.5046 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.5032, allocations: 0.7619 MB / 0.5054 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.5042, allocations: 113.5 kB / 0.5055 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.5076, allocations: 1.603 MB / 0.507 GB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/0.5083, allocations: 0.9243 MB / 0.508 GB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001351/0.5097, allocations: 197.5 kB / 0.5081 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/0.5103, allocations: 63.42 kB / 0.5082 GB, free: 7.387 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5103, allocations: 0 / 0.5082 GB, free: 7.387 MB / 378.7 MB Notification: Performance of Templates: time 0.02467/0.535, allocations: 14.37 MB / 0.5222 GB, free: 9.008 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)