Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 174.3 kB / 16.58 MB, free: 6.84 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.414/1.414, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3649/0.3649, allocations: 43.55 MB / 314.6 MB, free: 8.809 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: Performance of FrontEnd - loaded program: time 0.0004894/0.0004894, allocations: 19.88 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002591/0.1201, allocations: 2.401 MB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.1211, allocations: 0.7061 MB / 446 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1212, allocations: 11.94 kB / 446 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1214, allocations: 39.69 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1215, allocations: 103.2 kB / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1218, allocations: 63.92 kB / 446.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.1221, allocations: 410 kB / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.1224, allocations: 108.2 kB / 446.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1226, allocations: 143.4 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.1227, allocations: 155.3 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1228, allocations: 16 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.1228, allocations: 20 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.1229, allocations: 67.75 kB / 447.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.123, allocations: 97.52 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1232, allocations: 315.3 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1232, allocations: 0 / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1233, allocations: 0 / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1233, allocations: 0 / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008053/0.1241, allocations: 0.5849 MB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1241, allocations: 8.031 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.1242, allocations: 78.52 kB / 448.2 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.1243, allocations: 39.53 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1246, allocations: 271.2 kB / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.1246, allocations: 29 kB / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.1247, allocations: 43.91 kB / 448.5 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.1252, allocations: 394.1 kB / 448.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1253, allocations: 7.938 kB / 448.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.1253, allocations: 16 kB / 449 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1253, allocations: 8 kB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.1257, allocations: 231.7 kB / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.128, allocations: 1.723 MB / 450.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.1284, allocations: 262.4 kB / 451.2 MB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.1285, allocations: 102 kB / 451.3 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1286, allocations: 4.234 kB / 451.3 MB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1286, allocations: 46.48 kB / 451.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.1286, allocations: 0 / 451.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006183/0.1292, allocations: 277.1 kB / 451.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.1293, allocations: 218 kB / 451.8 MB, free: 3.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1296, allocations: 270.9 kB / 452.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.1296, allocations: 33.7 kB / 452.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1298, allocations: 243.2 kB / 452.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.1299, allocations: 122.4 kB / 452.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.1299, allocations: 8 kB / 452.5 MB, free: 2.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.13, allocations: 342.8 kB / 452.8 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1302, allocations: 105.2 kB / 452.9 MB, free: 2.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.1306, allocations: 432.8 kB / 453.3 MB, free: 1.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.1309, allocations: 171.8 kB / 453.5 MB, free: 1.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.1309, allocations: 4 kB / 453.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007853/0.1317, allocations: 0.5253 MB / 454 MB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.1317, allocations: 12.16 kB / 454 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.1318, allocations: 16 kB / 454 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.1318, allocations: 16 kB / 454.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1322, allocations: 147.8 kB / 454.2 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.1323, allocations: 23.92 kB / 454.2 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.1325, allocations: 71.23 kB / 454.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.1326, allocations: 35.98 kB / 454.3 MB, free: 0.8945 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001554/0.1327, allocations: 177.6 kB / 454.5 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1329, allocations: 31.72 kB / 454.5 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.1329, allocations: 41.77 kB / 454.6 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.133, allocations: 4 kB / 454.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.133, allocations: 0 / 454.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.133, allocations: 4 kB / 454.6 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2234/0.3564, allocations: 0.6472 MB / 455.2 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.3565, allocations: 3.094 kB / 455.2 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.357, allocations: 90.45 kB / 455.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.357, allocations: 2.562 kB / 455.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.357, allocations: 11.92 kB / 455.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.357, allocations: 12.53 kB / 455.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.357, allocations: 0 / 455.4 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.3577, allocations: 0.8446 MB / 456.2 MB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3579, allocations: 109.5 kB / 456.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.3579, allocations: 9.688 kB / 456.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.3583, allocations: 9.031 kB / 456.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.3583, allocations: 28.41 kB / 456.3 MB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.3584, allocations: 9.844 kB / 456.4 MB, free: 44.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3586, allocations: 179.4 kB / 456.5 MB, free: 44.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3586, allocations: 2.719 kB / 456.5 MB, free: 44.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.3594, allocations: 100.6 kB / 456.6 MB, free: 44.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0007557/0.3602, allocations: 1.393 MB / 458 MB, free: 43.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.3607, allocations: 303.9 kB / 458.3 MB, free: 43.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3607, allocations: 0 / 458.3 MB, free: 43.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3608, allocations: 94.8 kB / 458.4 MB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.3618, allocations: 60.92 kB / 458.5 MB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.3657, allocations: 3.278 MB / 461.8 MB, free: 41.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3659, allocations: 0.7952 MB / 462.5 MB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.3661, allocations: 46.44 kB / 462.6 MB, free: 40.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3663, allocations: 112.5 kB / 462.7 MB, free: 40.66 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3663, allocations: 0 / 462.7 MB, free: 40.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.384, allocations: 5.966 MB / 468.7 MB, free: 40.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.3842, allocations: 190.8 kB / 468.9 MB, free: 39.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.193, allocations: 0 / 468.9 MB, free: 39.88 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat