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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 191.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.302/0.302, allocations: 37.97 MB / 307.4 MB, free: 10.05 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 74.61 kB / 374.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 56.47 MB / 431.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003498/0.1145, allocations: 2.432 MB / 433.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.116, allocations: 0.9718 MB / 434.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1162, allocations: 7.938 kB / 434.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.1166, allocations: 103.4 kB / 434.7 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.1168, allocations: 83.58 kB / 434.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.1173, allocations: 255.6 kB / 435 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.118, allocations: 0.7328 MB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1181, allocations: 73.25 kB / 435.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.1184, allocations: 303 kB / 436.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.1187, allocations: 346.7 kB / 436.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.1188, allocations: 60 kB / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.1189, allocations: 60 kB / 436.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.1191, allocations: 195.5 kB / 436.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.1193, allocations: 250.7 kB / 437 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.1197, allocations: 0.5412 MB / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1198, allocations: 0 / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1198, allocations: 3.984 kB / 437.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1198, allocations: 0 / 437.6 MB, free: 0.5742 MB / 366.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.002073/0.1219, allocations: 0.9353 MB / 438.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1219, allocations: 11.89 kB / 438.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.122, allocations: 68.36 kB / 438.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.1225, allocations: 371.1 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.1228, allocations: 267.7 kB / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.801e-05/0.1229, allocations: 48.28 kB / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.1247, allocations: 0.8087 MB / 440.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1248, allocations: 4 kB / 440.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.1248, allocations: 20 kB / 440.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1249, allocations: 12 kB / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.128, allocations: 1.2 MB / 441.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.1305, allocations: 2.039 MB / 443.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.1334, allocations: 0.8246 MB / 444.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.1348, allocations: 0.4906 MB / 444.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.164e-05/0.1349, allocations: 15.92 kB / 444.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1349, allocations: 46.5 kB / 444.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.285e-06/0.1349, allocations: 0 / 444.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3284/0.4634, allocations: 15.74 MB / 460.5 MB, free: 52.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.4635, allocations: 91.45 kB / 460.5 MB, free: 52.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/0.4641, allocations: 389.6 kB / 460.9 MB, free: 52.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.4643, allocations: 46.58 kB / 461 MB, free: 52.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4645, allocations: 220.9 kB / 461.2 MB, free: 52.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.4648, allocations: 405.2 kB / 461.6 MB, free: 51.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/0.4654, allocations: 196.1 kB / 461.8 MB, free: 51.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4656, allocations: 374.3 kB / 462.1 MB, free: 51.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/0.4687, allocations: 1.342 MB / 463.5 MB, free: 50.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.472, allocations: 1.498 MB / 465 MB, free: 50.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005844/0.4779, allocations: 2.437 MB / 467.4 MB, free: 49.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4779, allocations: 0 / 467.4 MB, free: 49.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007035/0.485, allocations: 2.835 MB / 470.3 MB, free: 48.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.485, allocations: 9.453 kB / 470.3 MB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.485, allocations: 3.031 kB / 470.3 MB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.4851, allocations: 9.5 kB / 470.3 MB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.4877, allocations: 405.2 kB / 470.7 MB, free: 48.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.4877, allocations: 19.97 kB / 470.7 MB, free: 48.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.4897, allocations: 216.5 kB / 470.9 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.4899, allocations: 41.09 kB / 470.9 MB, free: 48.16 MB / 382.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.0004809/0.4904, allocations: 229.4 kB / 471.2 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.4906, allocations: 66.72 kB / 471.2 MB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.4908, allocations: 109 kB / 471.3 MB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4909, allocations: 12.94 kB / 471.4 MB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/0.4909, allocations: 3.188 kB / 471.4 MB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4909, allocations: 3.328 kB / 471.4 MB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00986/0.5008, allocations: 5.225 MB / 476.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.5008, allocations: 22.66 kB / 476.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.5023, allocations: 357.2 kB / 477 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/0.5023, allocations: 32.34 kB / 477 MB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/0.5024, allocations: 47 kB / 477 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-05/0.5024, allocations: 42.66 kB / 477.1 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/0.5025, allocations: 32.59 kB / 477.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006364/0.5088, allocations: 3.082 MB / 480.2 MB, free: 43.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.5093, allocations: 238.7 kB / 480.4 MB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.5094, allocations: 51.83 kB / 480.5 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5107, allocations: 193.3 kB / 480.7 MB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/0.5112, allocations: 219.6 kB / 480.9 MB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.5113, allocations: 57.62 kB / 480.9 MB, free: 43.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003696/0.5117, allocations: 263.3 kB / 481.2 MB, free: 43.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5117, allocations: 0 / 481.2 MB, free: 43.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001204/0.5129, allocations: 232.8 kB / 481.4 MB, free: 43.16 MB / 382.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.0002844/0.5132, allocations: 176.1 kB / 481.6 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006221/0.5194, allocations: 2.417 MB / 484 MB, free: 42.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.376e-05/0.5195, allocations: 2.219 kB / 484 MB, free: 42.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003678/0.5232, allocations: 1.067 MB / 485.1 MB, free: 41.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5246, allocations: 155.6 kB / 485.2 MB, free: 41.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.5288, allocations: 2.2 MB / 487.4 MB, free: 40.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.5294, allocations: 0.9233 MB / 488.3 MB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.5307, allocations: 198.1 kB / 488.5 MB, free: 39.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/0.5312, allocations: 70.86 kB / 488.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5312, allocations: 0 / 488.6 MB, free: 39.21 MB / 382.1 MB Notification: Performance of Templates: time 0.03577/0.567, allocations: 16.03 MB / 0.4928 GB, free: 34.9 MB / 382.1 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)