Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",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.0009058/0.0009058, allocations: 177.1 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.416/1.416, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008457/0.0008456, allocations: 78.36 kB / 261.7 MB, free: 1.699 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.1915/0.1915, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.12e-05, allocations: 7.984 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.516, allocations: 101.6 MB / 0.5653 GB, free: 9.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.5162, allocations: 82.39 kB / 0.5653 GB, free: 9.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2151/0.7314, allocations: 85.01 MB / 0.6484 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7314, allocations: 8 kB / 0.6484 GB, free: 12.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001349/0.7316, allocations: 68 kB / 0.6484 GB, free: 12.74 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01231/0.7439, allocations: 3.667 MB / 0.652 GB, free: 9.012 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.744, allocations: 16.03 kB / 0.652 GB, free: 8.996 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.7589, allocations: 3.508 MB / 0.6554 GB, free: 5.477 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.7706, allocations: 4.155 MB / 0.6595 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.7709, allocations: 128 kB / 0.6596 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002469/0.7734, allocations: 231.9 kB / 0.6598 GB, free: 0.918 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01315/0.7866, allocations: 7.263 MB / 0.6669 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.8072, allocations: 9.492 MB / 0.6762 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/0.8074, allocations: 27.72 kB / 0.6762 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000624/0.8081, allocations: 15.94 kB / 0.6763 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/0.8099, allocations: 1.211 MB / 0.6774 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3588/1.169, allocations: 33.07 MB / 0.7097 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/1.175, allocations: 4.172 MB / 0.7138 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003328/1.178, allocations: 2.233 MB / 0.716 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/1.18, allocations: 1.88 MB / 0.7178 GB, free: 116 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.18, allocations: 56.7 kB / 0.7179 GB, free: 116 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=231): time 5.47e-06/1.18, allocations: 3.125 kB / 0.7179 GB, free: 116 MB / 0.4948 GB Notification: Performance of matching and sorting (n=238): time 0.02568/1.206, allocations: 14.03 MB / 0.7316 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.206, allocations: 78.97 kB / 0.7317 GB, free: 115 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/1.209, allocations: 2.261 MB / 0.7339 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002573/1.209, allocations: 25.7 kB / 0.7339 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.211, allocations: 2.8 MB / 0.7366 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006993/1.211, allocations: 0.8421 MB / 0.7374 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/1.211, allocations: 0 / 0.7374 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002795/1.212, allocations: 0.6069 MB / 0.738 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/1.214, allocations: 2.132 MB / 0.7401 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/1.218, allocations: 5.272 MB / 0.7453 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/1.222, allocations: 3.374 MB / 0.7486 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/1.222, allocations: 33.56 kB / 0.7486 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.01104/1.233, allocations: 7.456 MB / 0.7559 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/1.233, allocations: 50.91 kB / 0.7559 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/1.233, allocations: 115.1 kB / 0.756 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/1.235, allocations: 0.8145 MB / 0.7568 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/1.239, allocations: 1.287 MB / 0.7581 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/1.244, allocations: 3.976 MB / 0.762 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/1.248, allocations: 204.5 kB / 0.7622 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.249, allocations: 332 kB / 0.7625 GB, free: 104 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (687): * Single equations (assignments): 680 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001644/1.25, allocations: 391.1 kB / 0.7629 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006589/1.257, allocations: 4.068 MB / 0.7668 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/1.257, allocations: 264.7 kB / 0.7671 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/1.265, allocations: 4.56 MB / 0.7715 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/1.265, allocations: 50.25 kB / 0.7716 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/1.265, allocations: 14.53 kB / 0.7716 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/1.265, allocations: 7.266 kB / 0.7716 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/1.283, allocations: 9.568 MB / 0.7809 GB, free: 96.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/1.284, allocations: 8 kB / 0.781 GB, free: 96.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.285, allocations: 367 kB / 0.7813 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/1.287, allocations: 0.6475 MB / 0.7819 GB, free: 96.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003375/1.287, allocations: 14.75 kB / 0.782 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/1.291, allocations: 3.466 MB / 0.7853 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/1.291, allocations: 12.62 kB / 0.7853 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.303, allocations: 7.581 MB / 0.7928 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.304, allocations: 0.6458 MB / 0.7934 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007996/1.305, allocations: 12 kB / 0.7934 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.307, allocations: 109.9 kB / 0.7935 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003577/1.307, allocations: 132.3 kB / 0.7936 GB, free: 85.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.308, allocations: 69.11 kB / 0.7937 GB, free: 85.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002995/1.311, allocations: 1.479 MB / 0.7951 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/1.311, allocations: 0 / 0.7951 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006668/1.317, allocations: 0.826 MB / 0.7959 GB, free: 83.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 174 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/1.328, allocations: 10.12 MB / 0.8058 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006943/1.335, allocations: 5.195 MB / 0.8109 GB, free: 69.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/1.335, allocations: 0 / 0.8109 GB, free: 69.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/1.337, allocations: 1.961 MB / 0.8128 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.339, allocations: 205 kB / 0.813 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/1.359, allocations: 9.206 MB / 0.822 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003072/1.362, allocations: 3.315 MB / 0.8252 GB, free: 56.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004422/1.366, allocations: 2.084 MB / 0.8273 GB, free: 55.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002537/1.369, allocations: 1.811 MB / 0.829 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/1.369, allocations: 0 / 0.829 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09545/1.464, allocations: 62.15 MB / 0.8897 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.465, allocations: 135.4 kB / 0.8899 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.67/5.135, allocations: 0 / 0.8899 GB, free: 10.36 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat