Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00202/0.00202, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2176/0.2176, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 58.86 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.5028, allocations: 84.65 MB / 0.5615 GB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.503, allocations: 67.25 kB / 0.5616 GB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005056/0.5081, allocations: 2.018 MB / 0.5635 GB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5081, allocations: 0 / 0.5635 GB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.5081, allocations: 0 / 0.5635 GB, free: 13.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003945/0.5085, allocations: 385.8 kB / 0.5639 GB, free: 12.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5086, allocations: 8.031 kB / 0.5639 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.5086, allocations: 44.86 kB / 0.564 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.5087, allocations: 11.91 kB / 0.564 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.5088, allocations: 178.9 kB / 0.5642 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5088, allocations: 7.359 kB / 0.5642 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.5089, allocations: 21.95 kB / 0.5642 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.5091, allocations: 129.7 kB / 0.5643 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5091, allocations: 0 / 0.5643 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5091, allocations: 7.625 kB / 0.5643 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.5091, allocations: 0 / 0.5643 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/0.5092, allocations: 62.47 kB / 0.5644 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.5099, allocations: 0.5462 MB / 0.5649 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.5101, allocations: 87.64 kB / 0.565 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.5101, allocations: 0 / 0.565 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.5101, allocations: 38.73 kB / 0.565 GB, free: 11.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.5101, allocations: 7.438 kB / 0.565 GB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005492/0.5107, allocations: 299.1 kB / 0.5653 GB, free: 11.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.5107, allocations: 81.06 kB / 0.5654 GB, free: 11.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.5108, allocations: 119 kB / 0.5655 GB, free: 11.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.5109, allocations: 29.27 kB / 0.5655 GB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.5109, allocations: 111.3 kB / 0.5656 GB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.511, allocations: 38.67 kB / 0.5657 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.511, allocations: 0 / 0.5657 GB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5111, allocations: 322.4 kB / 0.566 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.5111, allocations: 27.23 kB / 0.566 GB, free: 10.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.5112, allocations: 83.27 kB / 0.5661 GB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.5113, allocations: 38.62 kB / 0.5661 GB, free: 10.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5113, allocations: 0 / 0.5661 GB, free: 10.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000242/0.5115, allocations: 167.6 kB / 0.5663 GB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5115, allocations: 12.2 kB / 0.5663 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5116, allocations: 4 kB / 0.5663 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.5117, allocations: 40.64 kB / 0.5663 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.5118, allocations: 23.92 kB / 0.5664 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.5135, allocations: 2.547 MB / 0.5689 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.5135, allocations: 7.938 kB / 0.5689 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.5136, allocations: 8 kB / 0.5689 GB, free: 7.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.759e-05/0.5137, allocations: 127.5 kB / 0.569 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.5137, allocations: 11.86 kB / 0.569 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.5138, allocations: 7.656 kB / 0.569 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5138, allocations: 4 kB / 0.569 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5138, allocations: 4 kB / 0.569 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5138, allocations: 4.953 kB / 0.569 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.514, allocations: 200.6 kB / 0.5692 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.514, allocations: 3.984 kB / 0.5692 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.5141, allocations: 15.92 kB / 0.5692 GB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-05/0.5142, allocations: 37.16 kB / 0.5693 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5142, allocations: 3.312 kB / 0.5693 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.516, allocations: 2.55 MB / 0.5718 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.516, allocations: 3.984 kB / 0.5718 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.5163, allocations: 316.1 kB / 0.5721 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.5164, allocations: 88.95 kB / 0.5721 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.5164, allocations: 4.031 kB / 0.5722 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.5165, allocations: 4 kB / 0.5722 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.5166, allocations: 11.7 kB / 0.5722 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5166, allocations: 0 / 0.5722 GB, free: 3.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.5166, allocations: 94.77 kB / 0.5723 GB, free: 3.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5166, allocations: 0 / 0.5723 GB, free: 3.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005234/0.5172, allocations: 39.84 kB / 0.5723 GB, free: 3.859 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006221/0.5178, allocations: 0.9152 MB / 0.5732 GB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.5182, allocations: 291.9 kB / 0.5735 GB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5183, allocations: 3.938 kB / 0.5735 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.5186, allocations: 264.8 kB / 0.5737 GB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.5189, allocations: 21.17 kB / 0.5737 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.5209, allocations: 2.368 MB / 0.5761 GB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.5212, allocations: 0.7122 MB / 0.5768 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.5212, allocations: 8.875 kB / 0.5768 GB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.5213, allocations: 31.17 kB / 0.5768 GB, free: 15.2 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5213, allocations: 0 / 0.5768 GB, free: 15.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.5367, allocations: 2.645 MB / 0.5794 GB, free: 12.61 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.537, allocations: 207.7 kB / 0.5796 GB, free: 12.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.179, allocations: 0 / 0.5796 GB, free: 12.37 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat