Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.0009375/0.0009373, allocations: 96.86 kB / 15.7 MB, free: 468 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.001128/0.001128, allocations: 174 kB / 16.58 MB, free: 6.047 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.44/1.44, 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.3434/0.3434, allocations: 43.55 MB / 314.6 MB, free: 8.996 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.0005308/0.0005308, allocations: 14.97 kB / 384 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 58.85 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2384/0.3606, allocations: 31.43 MB / 474.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.3761, allocations: 7.436 MB / 481.7 MB, free: 27.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007657/0.3838, allocations: 146.8 kB / 481.9 MB, free: 27.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005295/0.3892, allocations: 1.57 MB / 483.5 MB, free: 27.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.402, allocations: 4.849 MB / 488.3 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.4042, allocations: 0.51 MB / 488.8 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.4086, allocations: 3.795 MB / 492.6 MB, free: 23.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00462/0.4133, allocations: 2.953 MB / 495.6 MB, free: 22.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.4157, allocations: 1.045 MB / 496.6 MB, free: 22.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.4189, allocations: 1.601 MB / 498.2 MB, free: 21.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009321/0.4198, allocations: 117.5 kB / 498.3 MB, free: 21.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.4225, allocations: 0.7949 MB / 499.1 MB, free: 21.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002595/0.4251, allocations: 1.396 MB / 0.4888 GB, free: 21.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.427, allocations: 0.7018 MB / 0.4895 GB, free: 20.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.4338, allocations: 4.46 MB / 0.4938 GB, free: 19.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4338, allocations: 3.938 kB / 0.4938 GB, free: 19.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4338, allocations: 0 / 0.4938 GB, free: 19.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002168/0.4341, allocations: 0 / 0.4938 GB, free: 19.63 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008574/0.4427, allocations: 3.37 MB / 0.4971 GB, free: 17.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.4427, allocations: 8.5 kB / 0.4971 GB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/0.4446, allocations: 0.6106 MB / 0.4977 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006674/0.4513, allocations: 1.833 MB / 0.4995 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/0.4574, allocations: 2.351 MB / 0.5018 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.4576, allocations: 187.7 kB / 0.502 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.4587, allocations: 259.5 kB / 0.5022 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.4753, allocations: 8.422 MB / 0.5105 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.4755, allocations: 40.19 kB / 0.5105 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/0.4759, allocations: 131.5 kB / 0.5106 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002345/0.4782, allocations: 1.7 MB / 0.5123 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.4897, allocations: 7.062 MB / 0.5192 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04366/0.5334, allocations: 34.16 MB / 0.5525 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007372/0.5408, allocations: 3.264 MB / 0.5557 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.543, allocations: 1.465 MB / 0.5572 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007909/0.551, allocations: 4.361 MB / 0.5614 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.551, allocations: 47.11 kB / 0.5615 GB, free: 4.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.22e-06/0.551, allocations: 3.938 kB / 0.5615 GB, free: 4.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02997/0.581, allocations: 11.56 MB / 0.5727 GB, free: 9.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5812, allocations: 166.9 kB / 0.5729 GB, free: 8.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007939/0.5891, allocations: 3.727 MB / 0.5765 GB, free: 5.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003672/0.5895, allocations: 41.7 kB / 0.5766 GB, free: 5.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002533/0.5921, allocations: 2.748 MB / 0.5793 GB, free: 2.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008965/0.593, allocations: 0.5132 MB / 0.5798 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005641/0.5936, allocations: 108 kB / 0.5799 GB, free: 1.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005045/0.5941, allocations: 0.5331 MB / 0.5804 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/0.5973, allocations: 1.673 MB / 0.582 GB, free: 15.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005768/0.6031, allocations: 5.1 MB / 0.587 GB, free: 8.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/0.6074, allocations: 2.867 MB / 0.5898 GB, free: 5.727 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.623e-05/0.6075, allocations: 36 kB / 0.5898 GB, free: 5.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01089/0.6184, allocations: 6.656 MB / 0.5963 GB, free: 15.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/0.6185, allocations: 56 kB / 0.5964 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/0.6187, allocations: 124 kB / 0.5965 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/0.6193, allocations: 332.7 kB / 0.5968 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.6229, allocations: 1.244 MB / 0.598 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.6253, allocations: 2.294 MB / 0.6003 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.629, allocations: 291.5 kB / 0.6006 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005419/0.6296, allocations: 332 kB / 0.6009 GB, free: 10.23 MB / 478.1 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.003335/0.6329, allocations: 1.787 MB / 0.6026 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000635/0.6336, allocations: 315.9 kB / 0.6029 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/0.6381, allocations: 2.361 MB / 0.6052 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.6382, allocations: 15.98 kB / 0.6052 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.6382, allocations: 8 kB / 0.6053 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.6382, allocations: 7.984 kB / 0.6053 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.6504, allocations: 5.915 MB / 0.611 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.6505, allocations: 4 kB / 0.611 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/0.6513, allocations: 167.8 kB / 0.6112 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.6534, allocations: 0.719 MB / 0.6119 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.6536, allocations: 20 kB / 0.6119 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005863/0.6594, allocations: 4.464 MB / 0.6163 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6595, allocations: 4.031 kB / 0.6163 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007865/0.6673, allocations: 4.32 MB / 0.6205 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/0.6694, allocations: 0.5359 MB / 0.621 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/0.6705, allocations: 20 kB / 0.621 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/0.6723, allocations: 76.36 kB / 0.6211 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.6726, allocations: 76.58 kB / 0.6212 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.6727, allocations: 31.98 kB / 0.6212 GB, free: 5.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005832/0.6785, allocations: 2.316 MB / 0.6235 GB, free: 2.809 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6786, allocations: 3.938 kB / 0.6235 GB, free: 2.805 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006209/0.6848, allocations: 0.828 MB / 0.6243 GB, free: 1.977 MB / 494.1 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.2438/0.9286, allocations: 4.931 MB / 0.6291 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007423/0.9361, allocations: 3.994 MB / 0.633 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.9361, allocations: 0 / 0.633 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.9379, allocations: 1.111 MB / 0.6341 GB, free: 138.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.9412, allocations: 374 kB / 0.6345 GB, free: 138.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04602/0.9873, allocations: 28.12 MB / 0.6619 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/0.9903, allocations: 2.783 MB / 0.6646 GB, free: 119.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004156/0.9945, allocations: 1.661 MB / 0.6663 GB, free: 119.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/0.9963, allocations: 1.524 MB / 0.6677 GB, free: 118.4 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.9963, allocations: 2.031 kB / 0.6677 GB, free: 118.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.098, allocations: 65.06 MB / 0.7313 GB, free: 68.19 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/1.098, allocations: 207.2 kB / 0.7315 GB, free: 67.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.299/4.397, allocations: 0 / 0.7315 GB, free: 67.95 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat