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.001645/0.001645, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.13 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 75.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3133, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008991/0.3224, allocations: 7.457 MB / 0.5379 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006209/0.3286, allocations: 3.36 MB / 0.5412 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007186/0.3293, allocations: 33.03 kB / 0.5412 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.331, allocations: 0.7993 MB / 0.542 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.334, allocations: 1.291 MB / 0.5432 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3352, allocations: 0.5187 MB / 0.5438 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003324/0.3386, allocations: 2.612 MB / 0.5463 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.3401, allocations: 1.229 MB / 0.5475 GB, free: 348 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009679/0.3411, allocations: 0.7627 MB / 0.5482 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.3425, allocations: 1.121 MB / 0.5493 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.3428, allocations: 140 kB / 0.5495 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.3444, allocations: 0.9243 MB / 0.5504 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000976/0.3454, allocations: 1.009 MB / 0.5514 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.3466, allocations: 1.207 MB / 0.5525 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.3513, allocations: 4.049 MB / 0.5565 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3513, allocations: 0 / 0.5565 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3513, allocations: 0 / 0.5565 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.286e-05/0.3513, allocations: 4 kB / 0.5565 GB, free: 7.094 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.005241/0.3566, allocations: 3.026 MB / 0.5595 GB, free: 4.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3566, allocations: 8.031 kB / 0.5595 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005651/0.3572, allocations: 462.5 kB / 0.5599 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006137/0.3633, allocations: 1.676 MB / 0.5615 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.366, allocations: 1.555 MB / 0.5631 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3661, allocations: 127.4 kB / 0.5632 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003463/0.3665, allocations: 167.8 kB / 0.5633 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009578/0.3761, allocations: 6.452 MB / 0.5696 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.701e-05/0.3762, allocations: 27.75 kB / 0.5697 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.3764, allocations: 83.89 kB / 0.5697 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/0.3791, allocations: 1.445 MB / 0.5712 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.3894, allocations: 5.728 MB / 0.5768 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03119/0.4206, allocations: 26.76 MB / 0.6029 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/0.4251, allocations: 2.144 MB / 0.605 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.4266, allocations: 1.039 MB / 0.606 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.4268, allocations: 182.5 kB / 0.6062 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.4268, allocations: 46.83 kB / 0.6062 GB, free: 2.469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.4268, allocations: 0 / 0.6062 GB, free: 2.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01596/0.4428, allocations: 6.507 MB / 0.6126 GB, free: 11.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.4429, allocations: 144.8 kB / 0.6127 GB, free: 11.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/0.4469, allocations: 2.894 MB / 0.6155 GB, free: 8.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.447, allocations: 45.7 kB / 0.6156 GB, free: 8.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.4488, allocations: 2.198 MB / 0.6177 GB, free: 6.602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.4493, allocations: 472.5 kB / 0.6182 GB, free: 6.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.4505, allocations: 0.8973 MB / 0.6191 GB, free: 5.227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4506, allocations: 301.1 kB / 0.6193 GB, free: 4.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.4529, allocations: 1.418 MB / 0.6207 GB, free: 3.504 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/0.4576, allocations: 4.291 MB / 0.6249 GB, free: 13.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007781/0.4654, allocations: 6.179 MB / 0.6309 GB, free: 6.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.491e-05/0.4655, allocations: 28 kB / 0.631 GB, free: 6.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009278/0.4747, allocations: 5.512 MB / 0.6364 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/0.4748, allocations: 48 kB / 0.6364 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.475, allocations: 108.3 kB / 0.6365 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.4751, allocations: 132 kB / 0.6366 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/0.4794, allocations: 1.22 MB / 0.6378 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/0.4796, allocations: 203.2 kB / 0.638 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.4823, allocations: 251.6 kB / 0.6383 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/0.4827, allocations: 276 kB / 0.6385 GB, free: 14.39 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.002057/0.4848, allocations: 1.388 MB / 0.6399 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/0.4853, allocations: 250.3 kB / 0.6401 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.4875, allocations: 1.234 MB / 0.6413 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/0.4875, allocations: 15.98 kB / 0.6413 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.4875, allocations: 7.938 kB / 0.6413 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.4876, allocations: 7.969 kB / 0.6413 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.4958, allocations: 4.554 MB / 0.6458 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.4958, allocations: 4 kB / 0.6458 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.4978, allocations: 371.4 kB / 0.6462 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.4978, allocations: 8.531 kB / 0.6462 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/0.4979, allocations: 24 kB / 0.6462 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.4979, allocations: 11.94 kB / 0.6462 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.498, allocations: 4 kB / 0.6462 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.5015, allocations: 2.172 MB / 0.6483 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/0.5021, allocations: 319.2 kB / 0.6486 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/0.5025, allocations: 20 kB / 0.6486 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/0.5035, allocations: 63.92 kB / 0.6487 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.5037, allocations: 64.08 kB / 0.6488 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/0.5037, allocations: 36 kB / 0.6488 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002913/0.5067, allocations: 1.815 MB / 0.6506 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4e-07/0.5067, allocations: 7.938 kB / 0.6506 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003095/0.5098, allocations: 0.6171 MB / 0.6512 GB, free: 1.176 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.003573/0.5134, allocations: 2.795 MB / 0.6539 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005396/0.5188, allocations: 3.267 MB / 0.6571 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.5188, allocations: 4 kB / 0.6571 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.52, allocations: 0.804 MB / 0.6579 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.5217, allocations: 265.8 kB / 0.6581 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/0.5673, allocations: 29.8 MB / 0.6872 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/0.5698, allocations: 2.213 MB / 0.6894 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003254/0.573, allocations: 1.459 MB / 0.6908 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/0.5747, allocations: 1.069 MB / 0.6919 GB, free: 3.391 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.5747, allocations: 3.938 kB / 0.6919 GB, free: 3.387 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3127/0.8875, allocations: 41.23 MB / 0.7321 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/17.81, allocations: 8.906 kB / 0.7322 GB, free: 181.4 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