Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",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.0008234/0.0008235, 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.0008728/0.0008729, allocations: 176.2 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.44/1.44, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.318/0.318, allocations: 43.55 MB / 314.6 MB, free: 8.789 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.0004872/0.0004873, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003137/0.1214, allocations: 2.401 MB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1231, allocations: 0.7217 MB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1234, allocations: 8 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1236, allocations: 47.62 kB / 446.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.1239, allocations: 107.1 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1242, allocations: 67.88 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.1246, allocations: 414.5 kB / 446.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.1249, allocations: 141.4 kB / 446.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1251, allocations: 143.4 kB / 446.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1253, allocations: 155.3 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.1254, allocations: 16 kB / 447.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.988e-05/0.1254, allocations: 20 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.1255, allocations: 71.69 kB / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.1256, allocations: 93.52 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1259, allocations: 323.3 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1259, allocations: 0 / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1259, allocations: 0 / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1259, allocations: 0 / 447.6 MB, free: 8.215 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009311/0.1269, allocations: 0.6121 MB / 448.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1269, allocations: 8.031 kB / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.127, allocations: 82.52 kB / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.1271, allocations: 39.53 kB / 448.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.1275, allocations: 279.3 kB / 448.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.1275, allocations: 29 kB / 448.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.34e-05/0.1276, allocations: 51.84 kB / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.1283, allocations: 381 kB / 449 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1283, allocations: 4 kB / 449 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1283, allocations: 15.95 kB / 449.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1284, allocations: 15.94 kB / 449.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.1288, allocations: 263.8 kB / 449.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1303, allocations: 1.117 MB / 450.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.1309, allocations: 355.4 kB / 450.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.1311, allocations: 178.5 kB / 451 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1312, allocations: 4 kB / 451 MB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1312, allocations: 38.56 kB / 451 MB, free: 4.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.432e-06/0.1312, allocations: 0 / 451 MB, free: 4.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003515/0.1347, allocations: 2.481 MB / 453.5 MB, free: 1.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.1348, allocations: 110.8 kB / 453.6 MB, free: 1.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1351, allocations: 238.6 kB / 453.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1351, allocations: 29.7 kB / 453.9 MB, free: 1.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1352, allocations: 184.6 kB / 454 MB, free: 1.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.1354, allocations: 201 kB / 454.2 MB, free: 1.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.1354, allocations: 12 kB / 454.2 MB, free: 1.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1355, allocations: 350.8 kB / 454.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.1358, allocations: 129.1 kB / 454.7 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.1361, allocations: 239.8 kB / 455 MB, free: 264 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1364, allocations: 171.8 kB / 455.1 MB, free: 92 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1364, allocations: 0 / 455.1 MB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1971/0.3336, allocations: 0.5554 MB / 455.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.3336, allocations: 11.22 kB / 455.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3337, allocations: 3 kB / 455.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.334, allocations: 120.9 kB / 455.8 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.3343, allocations: 105.9 kB / 455.9 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.337, allocations: 4.673 MB / 460.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3373, allocations: 24.3 kB / 460.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.3373, allocations: 18.19 kB / 460.6 MB, free: 41.74 MB / 382.1 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.0001567/0.3375, allocations: 168 kB / 460.8 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.3376, allocations: 44.14 kB / 460.8 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.3377, allocations: 48.19 kB / 460.9 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3377, allocations: 5.5 kB / 460.9 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.3377, allocations: 6.812 kB / 460.9 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3377, allocations: 3.328 kB / 460.9 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.3393, allocations: 1.339 MB / 462.2 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3393, allocations: 0 / 462.2 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3397, allocations: 100.5 kB / 462.3 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.3399, allocations: 96.75 kB / 462.4 MB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3399, allocations: 14.53 kB / 462.4 MB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.3419, allocations: 4.115 MB / 466.6 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.3419, allocations: 4.062 kB / 466.6 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009912/0.3429, allocations: 0.932 MB / 467.5 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.343, allocations: 111.3 kB / 467.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.343, allocations: 15.47 kB / 467.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3432, allocations: 18.44 kB / 467.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.3433, allocations: 45.92 kB / 467.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3433, allocations: 18.52 kB / 467.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3435, allocations: 168.5 kB / 467.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3435, allocations: 0 / 467.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006215/0.3441, allocations: 121.8 kB / 468 MB, free: 36.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.3453, allocations: 1.487 MB / 469.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3464, allocations: 0.7782 MB / 470.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3464, allocations: 0 / 470.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.347, allocations: 0.5738 MB / 470.8 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.3476, allocations: 59.02 kB / 470.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.3509, allocations: 2.7 MB / 473.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3512, allocations: 0.8185 MB / 474.4 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3513, allocations: 33.62 kB / 474.4 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3514, allocations: 126.2 kB / 474.5 MB, free: 33.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3514, allocations: 0 / 474.5 MB, free: 33.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.3711, allocations: 7.464 MB / 482 MB, free: 32.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.3714, allocations: 212.9 kB / 482.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.307, allocations: 3.609 kB / 482.2 MB, free: 32.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat