Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002746/0.002752, allocations: 366.8 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.373/4.373, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003689/0.003689, allocations: 237.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5653/0.5653, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005028, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09821, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003129/0.1014, allocations: 2.355 MB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.103, allocations: 0.7101 MB / 0.6831 GB, free: 38.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1033, allocations: 11.94 kB / 0.6831 GB, free: 38.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.661e-05/0.1034, allocations: 35.7 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.1038, allocations: 103.1 kB / 0.6832 GB, free: 38.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1041, allocations: 75.86 kB / 0.6833 GB, free: 38.35 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.1046, allocations: 410.4 kB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.1049, allocations: 137.4 kB / 0.6838 GB, free: 37.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.1051, allocations: 135.5 kB / 0.6839 GB, free: 37.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1053, allocations: 163.2 kB / 0.6841 GB, free: 37.52 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.1054, allocations: 20 kB / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1055, allocations: 20 kB / 0.6841 GB, free: 37.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1056, allocations: 63.77 kB / 0.6842 GB, free: 37.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.1057, allocations: 93.52 kB / 0.6843 GB, free: 37.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.1061, allocations: 319.3 kB / 0.6846 GB, free: 37.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1061, allocations: 0 / 0.6846 GB, free: 37.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1061, allocations: 0 / 0.6846 GB, free: 37.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1061, allocations: 0 / 0.6846 GB, free: 37.01 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001158/0.1073, allocations: 0.6121 MB / 0.6852 GB, free: 36.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.1074, allocations: 8.828 kB / 0.6852 GB, free: 36.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1075, allocations: 43.44 kB / 0.6852 GB, free: 36.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.1079, allocations: 284.7 kB / 0.6855 GB, free: 35.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.1079, allocations: 29 kB / 0.6855 GB, free: 35.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.108, allocations: 43.89 kB / 0.6856 GB, free: 35.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.1089, allocations: 389 kB / 0.686 GB, free: 35.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.1089, allocations: 0 / 0.686 GB, free: 35.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.109, allocations: 23.94 kB / 0.686 GB, free: 35.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.109, allocations: 8 kB / 0.686 GB, free: 35.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.1098, allocations: 261.1 kB / 0.6862 GB, free: 35.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1119, allocations: 1.108 MB / 0.6873 GB, free: 34.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.1126, allocations: 365.9 kB / 0.6877 GB, free: 33.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.1131, allocations: 175.2 kB / 0.6878 GB, free: 33.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.1131, allocations: 19.92 kB / 0.6879 GB, free: 33.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1132, allocations: 38.5 kB / 0.6879 GB, free: 33.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.656e-06/0.1132, allocations: 0 / 0.6879 GB, free: 33.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.005265/0.1185, allocations: 2.464 MB / 0.6903 GB, free: 30.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1185, allocations: 110.8 kB / 0.6904 GB, free: 30.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1188, allocations: 246.5 kB / 0.6906 GB, free: 30.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1189, allocations: 37.7 kB / 0.6907 GB, free: 30.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.119, allocations: 180.7 kB / 0.6908 GB, free: 30.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.1192, allocations: 201 kB / 0.691 GB, free: 29.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1192, allocations: 12 kB / 0.691 GB, free: 29.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.1193, allocations: 350.7 kB / 0.6914 GB, free: 29.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.1197, allocations: 137 kB / 0.6915 GB, free: 29.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.1202, allocations: 231.8 kB / 0.6917 GB, free: 29.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.1207, allocations: 159.9 kB / 0.6919 GB, free: 28.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1207, allocations: 4 kB / 0.6919 GB, free: 28.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001527/0.1223, allocations: 0.5696 MB / 0.6924 GB, free: 28.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1223, allocations: 8 kB / 0.6925 GB, free: 28.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1223, allocations: 0 / 0.6925 GB, free: 28.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.1229, allocations: 126.4 kB / 0.6926 GB, free: 28.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.1235, allocations: 104 kB / 0.6927 GB, free: 28.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.1279, allocations: 4.672 MB / 0.6972 GB, free: 23.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.1283, allocations: 23.98 kB / 0.6973 GB, free: 23.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.1284, allocations: 20 kB / 0.6973 GB, free: 23.03 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.1287, allocations: 161.8 kB / 0.6974 GB, free: 22.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.1288, allocations: 43.48 kB / 0.6975 GB, free: 22.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.786e-05/0.1289, allocations: 50.23 kB / 0.6975 GB, free: 22.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.1289, allocations: 7.984 kB / 0.6975 GB, free: 22.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1289, allocations: 0 / 0.6975 GB, free: 22.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.129, allocations: 100.7 kB / 0.6976 GB, free: 22.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.1291, allocations: 12 kB / 0.6976 GB, free: 22.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.1295, allocations: 19.98 kB / 0.6977 GB, free: 22.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.1297, allocations: 51.88 kB / 0.6977 GB, free: 22.57 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002322/0.132, allocations: 0.843 MB / 0.6985 GB, free: 21.71 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001716/0.1338, allocations: 0.951 MB / 0.6995 GB, free: 20.75 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004848/0.1343, allocations: 175.3 kB / 0.6996 GB, free: 20.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.1345, allocations: 173.9 kB / 0.6998 GB, free: 20.41 MB / 346.7 MB Notification: Performance of Backend: time 8.41e-07/0.1345, allocations: 0 / 0.6998 GB, free: 20.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.1365, allocations: 0.7206 MB / 0.7005 GB, free: 19.64 MB / 346.7 MB Notification: Performance of SimCode: time 0.002588/0.1391, allocations: 1.777 MB / 0.7022 GB, free: 17.82 MB / 346.7 MB Notification: Performance of Templates: time 0.01256/0.1517, allocations: 4.243 MB / 0.7064 GB, free: 13.6 MB / 346.7 MB