Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.ServoMotor_test.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) 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(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 118 kB / 16.42 MB, free: 6.496 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.001263/0.001263, allocations: 190.5 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02472/0.02472, allocations: 5.22 MB / 296.4 MB, free: 9.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 409.8 MB, free: 26.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 50.55 MB / 460.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004402/0.1161, allocations: 2.243 MB / 462.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1172, allocations: 0.635 MB / 463.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1174, allocations: 0 / 463.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1176, allocations: 39.66 kB / 463.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1178, allocations: 55.55 kB / 463.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.1181, allocations: 91.83 kB / 463.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.1184, allocations: 203.7 kB / 463.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.1186, allocations: 124.7 kB / 463.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1188, allocations: 79.77 kB / 463.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1189, allocations: 91.61 kB / 463.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.119, allocations: 24 kB / 463.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.119, allocations: 20 kB / 463.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.1191, allocations: 43.86 kB / 463.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1192, allocations: 91.59 kB / 464 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1195, allocations: 211.3 kB / 464.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1195, allocations: 7.875 kB / 464.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1195, allocations: 0 / 464.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1195, allocations: 0 / 464.2 MB, free: 3.805 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007818/0.1203, allocations: 486.9 kB / 464.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1203, allocations: 8.031 kB / 464.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.1204, allocations: 24.66 kB / 464.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1208, allocations: 224 kB / 465 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1208, allocations: 12.38 kB / 465 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.1209, allocations: 20.38 kB / 465 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.1214, allocations: 228.3 kB / 465.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1214, allocations: 0 / 465.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1214, allocations: 8 kB / 465.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1214, allocations: 4 kB / 465.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.1218, allocations: 131.9 kB / 465.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1229, allocations: 0.7692 MB / 466.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1233, allocations: 98.52 kB / 466.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1234, allocations: 48.88 kB / 466.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1234, allocations: 4 kB / 466.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.1235, allocations: 38.5 kB / 466.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1235, allocations: 0 / 466.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005345/0.124, allocations: 149.6 kB / 466.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.1241, allocations: 77.11 kB / 466.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1243, allocations: 148.4 kB / 466.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1243, allocations: 29.7 kB / 466.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1244, allocations: 147.8 kB / 466.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1244, allocations: 23.64 kB / 466.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1245, allocations: 37.7 kB / 466.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1246, allocations: 318.8 kB / 467.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1248, allocations: 52.88 kB / 467.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.125, allocations: 105.3 kB / 467.4 MB, free: 392 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1253, allocations: 137.9 kB / 467.5 MB, free: 232 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1253, allocations: 0 / 467.5 MB, free: 232 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003721/0.1257, allocations: 161.5 kB / 467.7 MB, free: 64 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1257, allocations: 15.97 kB / 467.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1257, allocations: 0 / 467.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.871e-05/0.1258, allocations: 4 kB / 467.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.126, allocations: 35.91 kB / 467.7 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/0.126, allocations: 4 kB / 467.7 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1261, allocations: 15.89 kB / 467.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1261, allocations: 4 kB / 467.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001704/0.1263, allocations: 128.8 kB / 467.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/0.1265, allocations: 90.78 kB / 468 MB, free: 15.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002138/0.1267, allocations: 106 kB / 468.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.1267, allocations: 0 / 468.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002848/0.127, allocations: 141.5 kB / 468.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.127, allocations: 4 kB / 468.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.127, allocations: 11.86 kB / 468.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.127, allocations: 4 kB / 468.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1271, allocations: 27.98 kB / 468.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1271, allocations: 4.141 kB / 468.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.1272, allocations: 23.83 kB / 468.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1273, allocations: 4 kB / 468.3 MB, free: 15.39 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 (13): * Single equations (assignments): 13 * 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.0001092/0.1274, allocations: 196.3 kB / 468.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1274, allocations: 11.84 kB / 468.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.1275, allocations: 12.72 kB / 468.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1275, allocations: 0 / 468.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1275, allocations: 3.984 kB / 468.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.1275, allocations: 85.02 kB / 468.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1276, allocations: 3.938 kB / 468.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1277, allocations: 15.98 kB / 468.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1277, allocations: 4 kB / 468.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004518/0.1282, allocations: 212.8 kB / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005618/0.1288, allocations: 342.6 kB / 469.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001413/0.1289, allocations: 40 kB / 469.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.129, allocations: 111.2 kB / 469.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Backend: time 2.064e-06/0.129, allocations: 0 / 469.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.1296, allocations: 197.2 kB / 469.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of SimCode: time 0.001074/0.1307, allocations: 0.8666 MB / 470.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Templates: time 0.004957/0.1357, allocations: 1.814 MB / 472.2 MB, free: 11.42 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1)