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.001676/0.001676, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001972/0.001972, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 77.73 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1269, allocations: 62.44 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008929/0.1359, allocations: 7.464 MB / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005738/0.1417, allocations: 3.352 MB / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.1426, allocations: 39.88 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.1444, allocations: 0.8015 MB / 491.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.1472, allocations: 1.292 MB / 493.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1484, allocations: 0.5223 MB / 493.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002997/0.1514, allocations: 2.594 MB / 496.2 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.1529, allocations: 1.233 MB / 497.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.1541, allocations: 0.7666 MB / 498.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.1555, allocations: 1.121 MB / 499.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003582/0.1559, allocations: 140 kB / 499.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.1574, allocations: 0.9282 MB / 0.4886 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009014/0.1584, allocations: 1.005 MB / 0.4896 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.1596, allocations: 1.207 MB / 0.4908 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.1632, allocations: 3.847 MB / 0.4946 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1632, allocations: 0 / 0.4946 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1632, allocations: 0 / 0.4946 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.704e-05/0.1633, allocations: 0 / 0.4946 GB, free: 10.8 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.005266/0.1686, allocations: 2.949 MB / 0.4974 GB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1686, allocations: 11.97 kB / 0.4974 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006276/0.1692, allocations: 458.5 kB / 0.4979 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006028/0.1753, allocations: 1.658 MB / 0.4995 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.178, allocations: 1.539 MB / 0.501 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.1782, allocations: 131.3 kB / 0.5011 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004066/0.1786, allocations: 159.8 kB / 0.5013 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2028/0.3814, allocations: 6.451 MB / 0.5076 GB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.718e-05/0.3816, allocations: 38.72 kB / 0.5076 GB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/0.3819, allocations: 86.17 kB / 0.5077 GB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002965/0.3848, allocations: 1.432 MB / 0.5091 GB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.3966, allocations: 5.727 MB / 0.5147 GB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0307/0.4274, allocations: 26.8 MB / 0.5409 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/0.4314, allocations: 2.144 MB / 0.543 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.4326, allocations: 1.036 MB / 0.544 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.4328, allocations: 177.5 kB / 0.5441 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4328, allocations: 42.58 kB / 0.5442 GB, free: 12.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 4.198e-06/0.4328, allocations: 0 / 0.5442 GB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01444/0.4473, allocations: 6.371 MB / 0.5504 GB, free: 6.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4474, allocations: 140.9 kB / 0.5505 GB, free: 6.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.4508, allocations: 2.885 MB / 0.5534 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.4509, allocations: 49.47 kB / 0.5534 GB, free: 3.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008997/0.4518, allocations: 2.104 MB / 0.5555 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.4522, allocations: 452 kB / 0.5559 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009086/0.4531, allocations: 0.8959 MB / 0.5568 GB, free: 384 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.4532, allocations: 301.1 kB / 0.557 GB, free: 80 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.4553, allocations: 1.422 MB / 0.5584 GB, free: 14.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004131/0.4595, allocations: 4.291 MB / 0.5626 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007581/0.4671, allocations: 6.2 MB / 0.5687 GB, free: 1.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.108e-05/0.4672, allocations: 32 kB / 0.5687 GB, free: 1.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009353/0.4766, allocations: 5.474 MB / 0.5741 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.4767, allocations: 48 kB / 0.5741 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.4769, allocations: 104 kB / 0.5742 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.477, allocations: 135.9 kB / 0.5743 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/0.4813, allocations: 1.225 MB / 0.5755 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001742/0.4815, allocations: 203.2 kB / 0.5757 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/0.4845, allocations: 235.6 kB / 0.5759 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006036/0.4851, allocations: 280 kB / 0.5762 GB, free: 9.551 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002296/0.4874, allocations: 1.384 MB / 0.5776 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/0.4879, allocations: 236.9 kB / 0.5778 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.49, allocations: 1.242 MB / 0.579 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/0.4901, allocations: 20.95 kB / 0.579 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4901, allocations: 4 kB / 0.579 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.4901, allocations: 3.984 kB / 0.579 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.5009, allocations: 4.558 MB / 0.5835 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/0.501, allocations: 4 kB / 0.5835 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/0.503, allocations: 375.7 kB / 0.5838 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/0.5031, allocations: 11.94 kB / 0.5839 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.585e-05/0.5032, allocations: 23.98 kB / 0.5839 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.5032, allocations: 15.98 kB / 0.5839 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.5032, allocations: 7.938 kB / 0.5839 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.5061, allocations: 2.154 MB / 0.586 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.5067, allocations: 309.8 kB / 0.5863 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/0.5073, allocations: 23.98 kB / 0.5863 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.5085, allocations: 55.92 kB / 0.5864 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.5087, allocations: 59.81 kB / 0.5864 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.5088, allocations: 43.98 kB / 0.5865 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003022/0.5119, allocations: 1.819 MB / 0.5883 GB, free: 13 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5119, allocations: 0 / 0.5883 GB, free: 13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003656/0.5155, allocations: 0.6145 MB / 0.5889 GB, free: 12.39 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 (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.003162/0.5187, allocations: 2.798 MB / 0.5916 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006013/0.5248, allocations: 3.462 MB / 0.595 GB, free: 6.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/0.5248, allocations: 4 kB / 0.595 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.5261, allocations: 0.793 MB / 0.5957 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.5283, allocations: 278.5 kB / 0.596 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04294/0.5713, allocations: 32.32 MB / 0.6276 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/0.5745, allocations: 2.202 MB / 0.6297 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003597/0.5781, allocations: 1.459 MB / 0.6311 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/0.5798, allocations: 1.085 MB / 0.6322 GB, free: 10.57 MB / 478.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5798, allocations: 3.938 kB / 0.6322 GB, free: 10.56 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07406/0.6539, allocations: 44.17 MB / 0.6753 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.894/9.548, allocations: 5.703 kB / 0.6753 GB, free: 14.53 MB / 0.5137 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.csv","/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