Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.00161/0.00161, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 95.97 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2076/0.2076, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.444e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.09913, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.4352, allocations: 84.25 MB / 0.5483 GB, free: 8.809 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.4354, allocations: 66.39 kB / 0.5484 GB, free: 8.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005345/0.4407, allocations: 2.596 MB / 0.5509 GB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4408, allocations: 0 / 0.5509 GB, free: 7.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4408, allocations: 4 kB / 0.5509 GB, free: 7.668 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003055/0.4411, allocations: 417.6 kB / 0.5513 GB, free: 7.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.4411, allocations: 12.03 kB / 0.5513 GB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.4412, allocations: 19.81 kB / 0.5513 GB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.4413, allocations: 178.8 kB / 0.5515 GB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4413, allocations: 8 kB / 0.5515 GB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.4413, allocations: 11.31 kB / 0.5515 GB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001305/0.4415, allocations: 70.27 kB / 0.5516 GB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4416, allocations: 146 kB / 0.5517 GB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4417, allocations: 3.906 kB / 0.5517 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4417, allocations: 0.8438 kB / 0.5517 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4417, allocations: 8 kB / 0.5517 GB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.4422, allocations: 0.5713 MB / 0.5523 GB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4424, allocations: 124.3 kB / 0.5524 GB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.4424, allocations: 40.78 kB / 0.5524 GB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.4425, allocations: 4 kB / 0.5525 GB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.4425, allocations: 38.75 kB / 0.5525 GB, free: 6.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.4425, allocations: 7.938 kB / 0.5525 GB, free: 6.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002983/0.4428, allocations: 134 kB / 0.5526 GB, free: 5.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.4428, allocations: 77.11 kB / 0.5527 GB, free: 5.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.4429, allocations: 118.6 kB / 0.5528 GB, free: 5.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.4429, allocations: 25.7 kB / 0.5528 GB, free: 5.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.443, allocations: 134 kB / 0.553 GB, free: 5.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.443, allocations: 62.05 kB / 0.553 GB, free: 5.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.443, allocations: 0 / 0.553 GB, free: 5.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.4431, allocations: 325 kB / 0.5533 GB, free: 5.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.4431, allocations: 31.44 kB / 0.5534 GB, free: 5.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.4432, allocations: 96.81 kB / 0.5535 GB, free: 5.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.4432, allocations: 51.98 kB / 0.5535 GB, free: 5.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4433, allocations: 0 / 0.5535 GB, free: 5.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000254/0.4435, allocations: 195.3 kB / 0.5537 GB, free: 4.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4435, allocations: 4 kB / 0.5537 GB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4435, allocations: 4 kB / 0.5537 GB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.4437, allocations: 51.88 kB / 0.5537 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4439, allocations: 32.23 kB / 0.5538 GB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.4451, allocations: 2.613 MB / 0.5563 GB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.4451, allocations: 11.84 kB / 0.5563 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4452, allocations: 4 kB / 0.5563 GB, free: 1.996 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.4452, allocations: 116.6 kB / 0.5565 GB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002103/0.4454, allocations: 145.5 kB / 0.5566 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.4455, allocations: 11.91 kB / 0.5566 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.4455, allocations: 14.73 kB / 0.5566 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4455, allocations: 4 kB / 0.5566 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.4455, allocations: 0 / 0.5566 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4455, allocations: 4 kB / 0.5566 GB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.4457, allocations: 194.1 kB / 0.5568 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4457, allocations: 0 / 0.5568 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.4459, allocations: 35.11 kB / 0.5568 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.755e-05/0.446, allocations: 44.06 kB / 0.5569 GB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.446, allocations: 0 / 0.5569 GB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.4474, allocations: 2.615 MB / 0.5594 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4475, allocations: 0 / 0.5594 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.4478, allocations: 373.6 kB / 0.5598 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.4479, allocations: 81.02 kB / 0.5599 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.4479, allocations: 4 kB / 0.5599 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.448, allocations: 0 / 0.5599 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.448, allocations: 14.8 kB / 0.5599 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.448, allocations: 4 kB / 0.5599 GB, free: 14.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.951e-05/0.4481, allocations: 99.64 kB / 0.56 GB, free: 14.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4481, allocations: 4 kB / 0.56 GB, free: 14.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.4485, allocations: 51.97 kB / 0.56 GB, free: 14.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006113/0.4491, allocations: 0.9668 MB / 0.561 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.4495, allocations: 307.5 kB / 0.5613 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4495, allocations: 0 / 0.5613 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.4498, allocations: 282.3 kB / 0.5616 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.4501, allocations: 30.16 kB / 0.5616 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.4511, allocations: 0.611 MB / 0.5622 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4514, allocations: 0.7282 MB / 0.5629 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.136e-05/0.4515, allocations: 9.219 kB / 0.5629 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.4515, allocations: 41.17 kB / 0.5629 GB, free: 11.13 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4516, allocations: 3.938 kB / 0.5629 GB, free: 11.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.4735, allocations: 2.895 MB / 0.5658 GB, free: 8.238 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.4738, allocations: 157.2 kB / 0.5659 GB, free: 8.047 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.945, allocations: 0 / 0.5659 GB, free: 8.047 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat