Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001079, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 71.89 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3219, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008762/0.3307, allocations: 7.471 MB / 0.5378 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006535/0.3373, allocations: 3.361 MB / 0.5411 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.3384, allocations: 31.88 kB / 0.5411 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.3403, allocations: 0.7994 MB / 0.5419 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.3435, allocations: 1.29 MB / 0.5431 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3449, allocations: 0.5335 MB / 0.5436 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.3486, allocations: 2.602 MB / 0.5462 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.3503, allocations: 1.227 MB / 0.5474 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.3516, allocations: 0.7705 MB / 0.5481 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3532, allocations: 1.121 MB / 0.5492 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004045/0.3536, allocations: 140 kB / 0.5494 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.3554, allocations: 0.9282 MB / 0.5503 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.3564, allocations: 0.9972 MB / 0.5512 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.358, allocations: 1.207 MB / 0.5524 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.3625, allocations: 4.036 MB / 0.5564 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3625, allocations: 0 / 0.5564 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3626, allocations: 0 / 0.5564 GB, free: 7.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.991e-05/0.3626, allocations: 0 / 0.5564 GB, free: 7.184 MB / 414.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.005237/0.3679, allocations: 2.949 MB / 0.5592 GB, free: 4.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3679, allocations: 8.031 kB / 0.5593 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00054/0.3685, allocations: 458.5 kB / 0.5597 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/0.3742, allocations: 1.655 MB / 0.5613 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.3771, allocations: 1.558 MB / 0.5628 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.3772, allocations: 123.4 kB / 0.5629 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.3776, allocations: 167.8 kB / 0.5631 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008648/0.3862, allocations: 6.453 MB / 0.5694 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.065e-05/0.3863, allocations: 31.66 kB / 0.5694 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.3865, allocations: 83.89 kB / 0.5695 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.3888, allocations: 1.437 MB / 0.5709 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009354/0.3982, allocations: 5.736 MB / 0.5765 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03023/0.4285, allocations: 26.7 MB / 0.6026 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.433, allocations: 2.161 MB / 0.6047 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.4344, allocations: 1.037 MB / 0.6057 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.4346, allocations: 182.5 kB / 0.6059 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4347, allocations: 42.89 kB / 0.6059 GB, free: 2.711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.917e-06/0.4347, allocations: 4 kB / 0.6059 GB, free: 2.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.0163/0.451, allocations: 6.368 MB / 0.6122 GB, free: 12.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.4511, allocations: 152.8 kB / 0.6123 GB, free: 12.13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/0.4557, allocations: 2.893 MB / 0.6151 GB, free: 9.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.4559, allocations: 37.7 kB / 0.6152 GB, free: 9.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.4573, allocations: 2.098 MB / 0.6172 GB, free: 7.051 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/0.4577, allocations: 458.3 kB / 0.6177 GB, free: 6.598 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.4589, allocations: 0.8927 MB / 0.6185 GB, free: 5.691 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.459, allocations: 305.1 kB / 0.6188 GB, free: 5.391 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.4611, allocations: 1.418 MB / 0.6202 GB, free: 3.965 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/0.465, allocations: 4.287 MB / 0.6244 GB, free: 14.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006333/0.4713, allocations: 6.187 MB / 0.6304 GB, free: 6.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.146e-05/0.4714, allocations: 32 kB / 0.6305 GB, free: 6.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009134/0.4806, allocations: 5.487 MB / 0.6358 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.131e-05/0.4807, allocations: 48 kB / 0.6359 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/0.4808, allocations: 100 kB / 0.636 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.481, allocations: 136 kB / 0.6361 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004207/0.4852, allocations: 1.224 MB / 0.6373 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001775/0.4854, allocations: 203.2 kB / 0.6375 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.4881, allocations: 239.8 kB / 0.6377 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/0.4886, allocations: 284 kB / 0.638 GB, free: 14.87 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002114/0.4908, allocations: 1.384 MB / 0.6393 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.4912, allocations: 236.9 kB / 0.6396 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.4932, allocations: 1.241 MB / 0.6408 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.4932, allocations: 19.94 kB / 0.6408 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4932, allocations: 0 / 0.6408 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4933, allocations: 7.984 kB / 0.6408 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00782/0.5011, allocations: 4.554 MB / 0.6452 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.5011, allocations: 8.469 kB / 0.6453 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.5029, allocations: 363.4 kB / 0.6456 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.5029, allocations: 8 kB / 0.6456 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.503, allocations: 27.98 kB / 0.6456 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.503, allocations: 11.94 kB / 0.6456 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.5031, allocations: 8 kB / 0.6457 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.5057, allocations: 2.159 MB / 0.6478 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.5063, allocations: 305.8 kB / 0.6481 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.5067, allocations: 20.28 kB / 0.6481 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009868/0.5077, allocations: 59.92 kB / 0.6481 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5078, allocations: 63.81 kB / 0.6482 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.5079, allocations: 47.91 kB / 0.6482 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002967/0.5109, allocations: 1.819 MB / 0.65 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5109, allocations: 0 / 0.65 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00332/0.5143, allocations: 0.621 MB / 0.6506 GB, free: 1.68 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003264/0.5175, allocations: 2.778 MB / 0.6533 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005105/0.5227, allocations: 3.272 MB / 0.6565 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.5227, allocations: 4 kB / 0.6565 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5238, allocations: 0.7843 MB / 0.6573 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.5257, allocations: 279.2 kB / 0.6576 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0396/0.5653, allocations: 29.69 MB / 0.6866 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/0.5677, allocations: 2.205 MB / 0.6887 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00314/0.5709, allocations: 1.463 MB / 0.6901 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.5724, allocations: 1.081 MB / 0.6912 GB, free: 4.02 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.5724, allocations: 0 / 0.6912 GB, free: 4.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3037/0.8762, allocations: 41.87 MB / 0.7321 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/17.62, allocations: 9.812 kB / 0.7321 GB, free: 181.7 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches