Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",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.000873/0.0008734, 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.0009582/0.0009583, allocations: 177.1 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.669/1.669, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4493/0.4493, allocations: 43.55 MB / 314.5 MB, free: 8.785 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.000651/0.0006511, allocations: 12 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1637, allocations: 58.84 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01441/0.1782, allocations: 12.35 MB / 455.2 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3403/0.5185, allocations: 4.262 MB / 459.4 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.5205, allocations: 55.41 kB / 459.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.5217, allocations: 0.5491 MB / 460 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.5269, allocations: 1.955 MB / 462 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.5281, allocations: 424.3 kB / 462.4 MB, free: 36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.531, allocations: 1.476 MB / 463.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.5331, allocations: 1.403 MB / 465.3 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009563/0.5341, allocations: 0.6053 MB / 465.9 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.5351, allocations: 0.8522 MB / 466.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.5353, allocations: 81.78 kB / 466.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.5367, allocations: 0.7546 MB / 467.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006952/0.5374, allocations: 0.8931 MB / 468.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.5378, allocations: 0.4959 MB / 469 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.5404, allocations: 3.029 MB / 472 MB, free: 35.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.5404, allocations: 0 / 472 MB, free: 35.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5404, allocations: 0 / 472 MB, free: 35.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.5405, allocations: 0 / 472 MB, free: 35.02 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.004291/0.5448, allocations: 2.555 MB / 474.6 MB, free: 33.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5448, allocations: 10.31 kB / 474.6 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005862/0.5454, allocations: 459.6 kB / 475 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006733/0.5522, allocations: 1.982 MB / 477 MB, free: 33.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.5558, allocations: 1.565 MB / 478.6 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.556, allocations: 122 kB / 478.7 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.5564, allocations: 161.6 kB / 478.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.5692, allocations: 6.484 MB / 485.3 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.401e-05/0.5693, allocations: 29.41 kB / 485.4 MB, free: 31.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.5696, allocations: 85.45 kB / 485.4 MB, free: 31.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003419/0.573, allocations: 1.437 MB / 486.9 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.5866, allocations: 5.75 MB / 492.6 MB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03671/0.6233, allocations: 26.83 MB / 0.5073 GB, free: 24.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/0.6282, allocations: 2.151 MB / 0.5094 GB, free: 22.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.6285, allocations: 176.2 kB / 0.5096 GB, free: 22.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.6285, allocations: 47.92 kB / 0.5096 GB, free: 22.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.647e-06/0.6285, allocations: 3.938 kB / 0.5096 GB, free: 22.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01778/0.6463, allocations: 6.719 MB / 0.5162 GB, free: 18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.6466, allocations: 141.1 kB / 0.5163 GB, free: 17.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/0.6506, allocations: 3.004 MB / 0.5192 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.6509, allocations: 45.64 kB / 0.5193 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001841/0.6527, allocations: 2.106 MB / 0.5213 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005999/0.6533, allocations: 454.6 kB / 0.5218 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.6535, allocations: 84 kB / 0.5218 GB, free: 12.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003997/0.6539, allocations: 0.4998 MB / 0.5223 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002507/0.6564, allocations: 1.398 MB / 0.5237 GB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006437/0.6629, allocations: 4.256 MB / 0.5279 GB, free: 4.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00475/0.6677, allocations: 2.39 MB / 0.5302 GB, free: 2.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-05/0.6678, allocations: 31.95 kB / 0.5302 GB, free: 2.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01374/0.6815, allocations: 5.452 MB / 0.5355 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.6817, allocations: 51.94 kB / 0.5356 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/0.6819, allocations: 104 kB / 0.5357 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.6821, allocations: 148 kB / 0.5358 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005136/0.6872, allocations: 1.22 MB / 0.537 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002669/0.6875, allocations: 203.2 kB / 0.5372 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.692, allocations: 235.6 kB / 0.5374 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.6931, allocations: 288 kB / 0.5377 GB, free: 10.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004215/0.6974, allocations: 1.383 MB / 0.5391 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009163/0.6983, allocations: 252.8 kB / 0.5393 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.7012, allocations: 1.227 MB / 0.5405 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/0.7012, allocations: 16 kB / 0.5405 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.7013, allocations: 4 kB / 0.5405 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.7013, allocations: 3.984 kB / 0.5405 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.7139, allocations: 4.566 MB / 0.545 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/0.714, allocations: 7.875 kB / 0.545 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/0.7161, allocations: 375.8 kB / 0.5454 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.572e-05/0.7162, allocations: 8 kB / 0.5454 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.7163, allocations: 24 kB / 0.5454 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/0.7164, allocations: 8 kB / 0.5454 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.7164, allocations: 7.938 kB / 0.5454 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.7203, allocations: 2.596 MB / 0.5479 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/0.722, allocations: 477.5 kB / 0.5484 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000525/0.7225, allocations: 24.03 kB / 0.5484 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7236, allocations: 66.5 kB / 0.5485 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.7237, allocations: 67.81 kB / 0.5485 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.7238, allocations: 35.94 kB / 0.5486 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004034/0.7279, allocations: 1.913 MB / 0.5504 GB, free: 13.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7279, allocations: 3.938 kB / 0.5504 GB, free: 13.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005425/0.7333, allocations: 0.6406 MB / 0.5511 GB, free: 12.47 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005168/0.7385, allocations: 4.411 MB / 0.5554 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006742/0.7453, allocations: 3.222 MB / 0.5585 GB, free: 4.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.7454, allocations: 4 kB / 0.5585 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.7466, allocations: 0.7853 MB / 0.5593 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.7487, allocations: 253.7 kB / 0.5595 GB, free: 3.672 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3545/1.103, allocations: 91.46 MB / 0.6489 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/1.106, allocations: 2.271 MB / 0.6511 GB, free: 156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003697/1.109, allocations: 1.466 MB / 0.6525 GB, free: 156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.111, allocations: 1.084 MB / 0.6536 GB, free: 156 MB / 0.4981 GB Notification: Performance of SimCode: time 3.437e-06/1.111, allocations: 3.188 kB / 0.6536 GB, free: 156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.214, allocations: 49.05 MB / 0.7015 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/1.214, allocations: 168.5 kB / 0.7016 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/4.167, allocations: 0 / 0.7016 GB, free: 131.2 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat