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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001328/0.001329, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.681/1.681, 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.0009815/0.0009816, allocations: 94.78 kB / 270.2 MB, free: 13.36 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.2306/0.2306, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5667, allocations: 86.99 MB / 0.5638 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.5671, allocations: 69.03 kB / 0.5639 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01768/0.5848, allocations: 6.263 MB / 0.57 GB, free: 7.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5849, allocations: 0 / 0.57 GB, free: 7.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.5849, allocations: 12 kB / 0.57 GB, free: 7.426 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001141/0.5861, allocations: 0.6096 MB / 0.5706 GB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5861, allocations: 8.031 kB / 0.5706 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.5863, allocations: 71.97 kB / 0.5707 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.5864, allocations: 47.44 kB / 0.5707 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.5868, allocations: 271.7 kB / 0.571 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.5868, allocations: 28.88 kB / 0.571 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.587, allocations: 45.28 kB / 0.571 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.5877, allocations: 387.1 kB / 0.5714 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.5878, allocations: 4 kB / 0.5714 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.5878, allocations: 20.95 kB / 0.5714 GB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5878, allocations: 8 kB / 0.5714 GB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.5883, allocations: 256.8 kB / 0.5717 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.5899, allocations: 1.102 MB / 0.5728 GB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.5904, allocations: 361.6 kB / 0.5731 GB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.5904, allocations: 4 kB / 0.5731 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.5905, allocations: 42.36 kB / 0.5731 GB, free: 4.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.943e-06/0.5905, allocations: 0 / 0.5731 GB, free: 4.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.003962/0.5944, allocations: 2.479 MB / 0.5756 GB, free: 2.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.5945, allocations: 114.8 kB / 0.5757 GB, free: 2.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5948, allocations: 213.9 kB / 0.5759 GB, free: 1.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.5948, allocations: 32.83 kB / 0.5759 GB, free: 1.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.595, allocations: 178.7 kB / 0.5761 GB, free: 1.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.5951, allocations: 199.1 kB / 0.5763 GB, free: 1.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.5952, allocations: 10.69 kB / 0.5763 GB, free: 1.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5953, allocations: 355.6 kB / 0.5766 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.5956, allocations: 138.2 kB / 0.5768 GB, free: 1.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.5959, allocations: 231.6 kB / 0.577 GB, free: 0.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.5962, allocations: 174.8 kB / 0.5771 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5962, allocations: 0 / 0.5771 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009396/0.5971, allocations: 0.5637 MB / 0.5777 GB, free: 344 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5972, allocations: 4 kB / 0.5777 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5972, allocations: 4 kB / 0.5777 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.5976, allocations: 121.1 kB / 0.5778 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.598, allocations: 99.86 kB / 0.5779 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.602, allocations: 4.713 MB / 0.5825 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.6023, allocations: 20.34 kB / 0.5825 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.6023, allocations: 19.88 kB / 0.5826 GB, free: 11.43 MB / 394.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.0002812/0.6026, allocations: 172.4 kB / 0.5827 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.6027, allocations: 39.48 kB / 0.5828 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/0.6028, allocations: 52.8 kB / 0.5828 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6028, allocations: 8 kB / 0.5828 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.6028, allocations: 4 kB / 0.5828 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.6029, allocations: 4 kB / 0.5828 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.6048, allocations: 1.343 MB / 0.5841 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.6048, allocations: 3.938 kB / 0.5841 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.6053, allocations: 103.2 kB / 0.5842 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.6056, allocations: 88.52 kB / 0.5843 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.6056, allocations: 15.12 kB / 0.5843 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.6089, allocations: 4.142 MB / 0.5884 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.609, allocations: 3.938 kB / 0.5884 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.6103, allocations: 1.006 MB / 0.5894 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.6104, allocations: 108.6 kB / 0.5895 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.6105, allocations: 15.69 kB / 0.5895 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.6107, allocations: 22.92 kB / 0.5895 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6109, allocations: 50.38 kB / 0.5896 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.6109, allocations: 14.88 kB / 0.5896 GB, free: 4.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.6111, allocations: 167.7 kB / 0.5897 GB, free: 4.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6111, allocations: 0 / 0.5897 GB, free: 4.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007467/0.6118, allocations: 124.2 kB / 0.5898 GB, free: 4.281 MB / 394.7 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.001753/0.6136, allocations: 1.896 MB / 0.5917 GB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.6149, allocations: 0.7689 MB / 0.5924 GB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6149, allocations: 4 kB / 0.5925 GB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007588/0.6157, allocations: 0.5907 MB / 0.593 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.6162, allocations: 49.08 kB / 0.5931 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.6207, allocations: 4.343 MB / 0.5973 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.6211, allocations: 0.8288 MB / 0.5981 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.6212, allocations: 27.28 kB / 0.5982 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.6214, allocations: 139.7 kB / 0.5983 GB, free: 12.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.274e-06/0.6214, allocations: 0 / 0.5983 GB, free: 12.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.6427, allocations: 7.467 MB / 0.6056 GB, free: 4.809 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.643, allocations: 194.7 kB / 0.6058 GB, free: 4.574 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.883, allocations: 4.062 kB / 0.6058 GB, free: 4.57 MB / 410.7 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) 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