Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.001643/0.001647, allocations: 183 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001195/0.001195, allocations: 101.4 kB / 270.9 MB, free: 8.355 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.5128/0.5128, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004837, allocations: 16 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.355/0.4831, allocations: 29.71 MB / 0.5078 GB, free: 29.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02229/0.5054, allocations: 7.719 MB / 0.5154 GB, free: 24.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007363/0.5128, allocations: 146.5 kB / 0.5155 GB, free: 24.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005329/0.5182, allocations: 1.423 MB / 0.5169 GB, free: 23.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01727/0.5355, allocations: 4.349 MB / 0.5211 GB, free: 21.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.5388, allocations: 0.502 MB / 0.5216 GB, free: 21.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005187/0.5441, allocations: 1.901 MB / 0.5235 GB, free: 20.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005916/0.55, allocations: 2.933 MB / 0.5264 GB, free: 19.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.5524, allocations: 0.8682 MB / 0.5272 GB, free: 19.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.555, allocations: 1.13 MB / 0.5283 GB, free: 18.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000952/0.556, allocations: 113.8 kB / 0.5284 GB, free: 18.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.5587, allocations: 0.7713 MB / 0.5292 GB, free: 18.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.561, allocations: 1.299 MB / 0.5304 GB, free: 18.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.5624, allocations: 0.7031 MB / 0.5311 GB, free: 17.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007259/0.5697, allocations: 4.448 MB / 0.5355 GB, free: 16.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5697, allocations: 0 / 0.5355 GB, free: 16.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5697, allocations: 4 kB / 0.5355 GB, free: 16.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002443/0.57, allocations: 0 / 0.5355 GB, free: 16.92 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01099/0.581, allocations: 3.423 MB / 0.5388 GB, free: 14.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5811, allocations: 10.27 kB / 0.5388 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002286/0.5834, allocations: 0.6032 MB / 0.5394 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.6044, allocations: 2.116 MB / 0.5415 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007094/0.6115, allocations: 2.148 MB / 0.5436 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.6119, allocations: 188.7 kB / 0.5438 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.6137, allocations: 261.1 kB / 0.544 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02384/0.6375, allocations: 8.489 MB / 0.5523 GB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.6377, allocations: 44.36 kB / 0.5523 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006286/0.6384, allocations: 127.2 kB / 0.5525 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005069/0.6435, allocations: 1.699 MB / 0.5541 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02132/0.6648, allocations: 7.156 MB / 0.5611 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06356/0.7284, allocations: 34.24 MB / 0.5945 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.7414, allocations: 3.286 MB / 0.5978 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.7524, allocations: 4.409 MB / 0.6021 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.7525, allocations: 43.12 kB / 0.6021 GB, free: 5.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 5.33e-06/0.7526, allocations: 0 / 0.6021 GB, free: 5.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.06315/0.8157, allocations: 11.83 MB / 0.6137 GB, free: 9.832 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.8159, allocations: 166.9 kB / 0.6138 GB, free: 9.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/0.8286, allocations: 3.859 MB / 0.6176 GB, free: 5.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004416/0.8291, allocations: 41.7 kB / 0.6176 GB, free: 5.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004216/0.8334, allocations: 2.693 MB / 0.6203 GB, free: 3.004 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/0.8348, allocations: 0.5171 MB / 0.6208 GB, free: 2.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008367/0.8356, allocations: 104 kB / 0.6209 GB, free: 2.379 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007233/0.8364, allocations: 0.5381 MB / 0.6214 GB, free: 1.832 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005885/0.8423, allocations: 1.67 MB / 0.623 GB, free: 160 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008933/0.8513, allocations: 5.073 MB / 0.628 GB, free: 9.352 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007478/0.8588, allocations: 2.872 MB / 0.6308 GB, free: 6.477 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.859, allocations: 39.95 kB / 0.6308 GB, free: 6.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01945/0.8784, allocations: 6.543 MB / 0.6372 GB, free: 15.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.8787, allocations: 56 kB / 0.6373 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002151/0.8789, allocations: 124.2 kB / 0.6374 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.8801, allocations: 340.6 kB / 0.6377 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007682/0.8878, allocations: 1.24 MB / 0.6389 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.8921, allocations: 2.333 MB / 0.6412 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/0.898, allocations: 295.6 kB / 0.6415 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/0.8992, allocations: 336 kB / 0.6418 GB, free: 11.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005159/0.9044, allocations: 1.787 MB / 0.6435 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009578/0.9054, allocations: 316 kB / 0.6438 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008408/0.9138, allocations: 2.358 MB / 0.6461 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/0.9139, allocations: 16 kB / 0.6462 GB, free: 6.555 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.9139, allocations: 4 kB / 0.6462 GB, free: 6.551 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.914, allocations: 11.97 kB / 0.6462 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/0.9348, allocations: 5.935 MB / 0.652 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/0.9348, allocations: 0 / 0.652 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.9366, allocations: 175.8 kB / 0.6521 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004306/0.941, allocations: 0.7185 MB / 0.6528 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/0.9414, allocations: 20 kB / 0.6529 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.9519, allocations: 4.571 MB / 0.6573 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9519, allocations: 0 / 0.6573 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.9648, allocations: 4.44 MB / 0.6617 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/0.967, allocations: 0.5437 MB / 0.6622 GB, free: 5.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008289/0.9679, allocations: 20 kB / 0.6622 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/0.9701, allocations: 71.91 kB / 0.6623 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/0.9706, allocations: 76.67 kB / 0.6623 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.9708, allocations: 35.97 kB / 0.6624 GB, free: 5.645 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007139/0.9779, allocations: 2.421 MB / 0.6647 GB, free: 3.238 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.978, allocations: 0 / 0.6647 GB, free: 3.238 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006632/0.9846, allocations: 0.8398 MB / 0.6656 GB, free: 2.398 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01415/0.9988, allocations: 5.366 MB / 0.6708 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.01, allocations: 3.988 MB / 0.6747 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.01, allocations: 320 / 0.6747 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002878/1.013, allocations: 1.111 MB / 0.6758 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/1.016, allocations: 352.6 kB / 0.6761 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3727/1.389, allocations: 99.75 MB / 0.7735 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006048/1.395, allocations: 2.863 MB / 0.7763 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003532/1.398, allocations: 1.574 MB / 0.7779 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/1.398, allocations: 0 / 0.7779 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.116/5.514, allocations: 82.97 MB / 0.8589 GB, free: 10.17 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat