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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 176.3 kB / 16.56 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3959/0.3959, allocations: 43.55 MB / 314.5 MB, free: 9.129 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005, allocations: 16 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.3046/0.4337, allocations: 25.68 MB / 468.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.451, allocations: 6.663 MB / 475.2 MB, free: 32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007606/0.4587, allocations: 119.7 kB / 475.3 MB, free: 31.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005543/0.4643, allocations: 1.296 MB / 476.6 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0141/0.4785, allocations: 3.94 MB / 480.5 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.4806, allocations: 408 kB / 480.9 MB, free: 29.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004204/0.4848, allocations: 1.996 MB / 482.9 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.4882, allocations: 2.263 MB / 485.2 MB, free: 28.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.4896, allocations: 0.8883 MB / 486.1 MB, free: 27.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.491, allocations: 1.223 MB / 487.3 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.4914, allocations: 134.5 kB / 487.4 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.493, allocations: 0.729 MB / 488.2 MB, free: 27.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.4943, allocations: 1.392 MB / 489.6 MB, free: 26.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006846/0.495, allocations: 0.7683 MB / 490.3 MB, free: 26.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007363/0.5024, allocations: 4.805 MB / 495.1 MB, free: 25.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5024, allocations: 4 kB / 495.1 MB, free: 25.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.5024, allocations: 1.062 kB / 495.1 MB, free: 25.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002753/0.5027, allocations: 0 / 495.1 MB, free: 25.21 MB / 382.1 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.01139/0.5141, allocations: 3.587 MB / 498.7 MB, free: 23.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.5142, allocations: 9.953 kB / 498.7 MB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003138/0.5173, allocations: 0.7248 MB / 499.5 MB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.5323, allocations: 3.727 MB / 0.4914 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008565/0.541, allocations: 2.132 MB / 0.4935 GB, free: 20.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/0.5415, allocations: 196.1 kB / 0.4937 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003058/0.5446, allocations: 250.3 kB / 0.4939 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/0.5764, allocations: 10.76 MB / 0.5044 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002638/0.5768, allocations: 21.31 kB / 0.5044 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002208/0.579, allocations: 120.3 kB / 0.5046 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006291/0.5853, allocations: 2.643 MB / 0.5071 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.6089, allocations: 10.08 MB / 0.517 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06629/0.6753, allocations: 35.38 MB / 0.5515 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.6858, allocations: 5.179 MB / 0.5566 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001944/0.6878, allocations: 1.884 MB / 0.5584 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.6879, allocations: 48.56 kB / 0.5585 GB, free: 7.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.43e-06/0.6879, allocations: 3.938 kB / 0.5585 GB, free: 7.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03458/0.7225, allocations: 14.56 MB / 0.5727 GB, free: 8.961 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.7226, allocations: 73.34 kB / 0.5728 GB, free: 8.875 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/0.7267, allocations: 2.775 MB / 0.5755 GB, free: 6.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.727, allocations: 57.7 kB / 0.5755 GB, free: 6.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.729, allocations: 2.709 MB / 0.5782 GB, free: 3.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009041/0.7299, allocations: 0.8518 MB / 0.579 GB, free: 2.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.7301, allocations: 100 kB / 0.5791 GB, free: 2.309 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003329/0.7305, allocations: 0.541 MB / 0.5796 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.7336, allocations: 2.189 MB / 0.5818 GB, free: 15.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005193/0.7388, allocations: 5.083 MB / 0.5867 GB, free: 9.043 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/0.7439, allocations: 3.334 MB / 0.59 GB, free: 5.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.068e-05/0.744, allocations: 28 kB / 0.59 GB, free: 5.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01469/0.7587, allocations: 7.892 MB / 0.5977 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.7588, allocations: 48 kB / 0.5978 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.7589, allocations: 104 kB / 0.5979 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.7611, allocations: 0.8036 MB / 0.5986 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/0.7653, allocations: 1.197 MB / 0.5998 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006061/0.7714, allocations: 4.293 MB / 0.604 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/0.7766, allocations: 316.1 kB / 0.6043 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.7777, allocations: 304 kB / 0.6046 GB, free: 6.582 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 633 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004798/0.7825, allocations: 2.044 MB / 0.6066 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005264/0.783, allocations: 276.4 kB / 0.6069 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/0.7907, allocations: 4.722 MB / 0.6115 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.167e-05/0.7908, allocations: 47.98 kB / 0.6115 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7908, allocations: 0 / 0.6115 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.7908, allocations: 11.97 kB / 0.6115 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/0.811, allocations: 10.59 MB / 0.6219 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8111, allocations: 4 kB / 0.6219 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.8126, allocations: 355.4 kB / 0.6222 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.8146, allocations: 0.6607 MB / 0.6229 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.8148, allocations: 43.97 kB / 0.6229 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3067/1.122, allocations: 3.747 MB / 0.6266 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/1.122, allocations: 15.91 kB / 0.6266 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.134, allocations: 7.681 MB / 0.6341 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/1.136, allocations: 0.6571 MB / 0.6347 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005076/1.137, allocations: 45.28 kB / 0.6348 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.138, allocations: 144.2 kB / 0.6349 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/1.138, allocations: 134.8 kB / 0.635 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.139, allocations: 59.53 kB / 0.6351 GB, free: 138.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003286/1.142, allocations: 1.715 MB / 0.6368 GB, free: 138.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.142, allocations: 3.188 kB / 0.6368 GB, free: 138.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004927/1.147, allocations: 0.9607 MB / 0.6377 GB, free: 138.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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.01118/1.158, allocations: 10.12 MB / 0.6476 GB, free: 133.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01055/1.169, allocations: 5.345 MB / 0.6528 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.169, allocations: 1.656 kB / 0.6528 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003052/1.172, allocations: 2.01 MB / 0.6548 GB, free: 130.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/1.174, allocations: 309 kB / 0.6551 GB, free: 130.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08609/1.26, allocations: 99.46 MB / 0.7522 GB, free: 43.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003495/1.264, allocations: 3.316 MB / 0.7554 GB, free: 41.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004179/1.268, allocations: 1.978 MB / 0.7574 GB, free: 39.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.27, allocations: 1.762 MB / 0.7591 GB, free: 38.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/1.27, allocations: 0 / 0.7591 GB, free: 38.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3591/1.629, allocations: 64.96 MB / 0.8225 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.629, allocations: 194.4 kB / 0.8227 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/5.1, allocations: 0 / 0.8227 GB, free: 142.6 MB / 0.4981 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) Environment - environmentSimulation: 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