Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_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.001575/0.001575, allocations: 112.8 kB / 17.77 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 180.9 kB / 18.7 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2319/0.2319, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3976, allocations: 60.82 MB / 0.5184 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008863/0.4065, allocations: 7.477 MB / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008074/0.4146, allocations: 3.331 MB / 0.529 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.4164, allocations: 32.03 kB / 0.529 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.4189, allocations: 0.8008 MB / 0.5298 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.4235, allocations: 1.325 MB / 0.5311 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.4254, allocations: 0.5312 MB / 0.5316 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004793/0.4302, allocations: 2.566 MB / 0.5341 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.4326, allocations: 1.237 MB / 0.5353 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.4344, allocations: 0.773 MB / 0.5361 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.4367, allocations: 1.122 MB / 0.5371 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.4373, allocations: 139.2 kB / 0.5373 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.4399, allocations: 0.9472 MB / 0.5382 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.4415, allocations: 1.018 MB / 0.5392 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.4434, allocations: 1.228 MB / 0.5404 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007181/0.4506, allocations: 4.094 MB / 0.5444 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4507, allocations: 0 / 0.5444 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4507, allocations: 0 / 0.5444 GB, free: 1.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001261/0.4509, allocations: 0 / 0.5444 GB, free: 1.297 MB / 398.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.007176/0.458, allocations: 3.049 MB / 0.5474 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4581, allocations: 8.031 kB / 0.5474 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007367/0.4588, allocations: 466.5 kB / 0.5478 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006455/0.4653, allocations: 1.684 MB / 0.5495 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.4691, allocations: 1.656 MB / 0.5511 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4693, allocations: 123.4 kB / 0.5512 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004351/0.4697, allocations: 163.8 kB / 0.5514 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.4816, allocations: 6.464 MB / 0.5577 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-05/0.4818, allocations: 31.7 kB / 0.5577 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.4821, allocations: 83.89 kB / 0.5578 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002779/0.4849, allocations: 1.437 MB / 0.5592 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.4974, allocations: 5.736 MB / 0.5648 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.5355, allocations: 26.75 MB / 0.5909 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.5403, allocations: 2.141 MB / 0.593 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.542, allocations: 1.046 MB / 0.594 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.5422, allocations: 174.5 kB / 0.5942 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.5423, allocations: 42.89 kB / 0.5942 GB, free: 12.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.867e-06/0.5423, allocations: 0 / 0.5942 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01816/0.5605, allocations: 6.514 MB / 0.6006 GB, free: 6.012 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.5606, allocations: 144.9 kB / 0.6007 GB, free: 5.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/0.5654, allocations: 2.902 MB / 0.6036 GB, free: 2.926 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.5657, allocations: 41.7 kB / 0.6036 GB, free: 2.879 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/0.5678, allocations: 2.194 MB / 0.6057 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/0.5685, allocations: 480.5 kB / 0.6062 GB, free: 196 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.5698, allocations: 0.9012 MB / 0.6071 GB, free: 15.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.57, allocations: 305.1 kB / 0.6074 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.5724, allocations: 1.414 MB / 0.6088 GB, free: 13.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/0.5776, allocations: 4.287 MB / 0.6129 GB, free: 7.812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008565/0.5862, allocations: 6.203 MB / 0.619 GB, free: 184 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.685e-05/0.5863, allocations: 28 kB / 0.619 GB, free: 156 kB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01056/0.5969, allocations: 5.501 MB / 0.6244 GB, free: 10.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.597, allocations: 48 kB / 0.6244 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.5971, allocations: 100 kB / 0.6245 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.5972, allocations: 136.8 kB / 0.6247 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004558/0.6018, allocations: 1.228 MB / 0.6259 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002164/0.6021, allocations: 199.2 kB / 0.6261 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.6053, allocations: 235.7 kB / 0.6263 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/0.6059, allocations: 284 kB / 0.6266 GB, free: 8.438 MB / 494.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.002857/0.6088, allocations: 1.384 MB / 0.6279 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005638/0.6093, allocations: 258.3 kB / 0.6282 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.6117, allocations: 1.238 MB / 0.6294 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/0.6118, allocations: 15.94 kB / 0.6294 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.6118, allocations: 0 / 0.6294 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6118, allocations: 7.984 kB / 0.6294 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008752/0.6206, allocations: 4.563 MB / 0.6338 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.6206, allocations: 11.94 kB / 0.6339 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/0.6225, allocations: 363.4 kB / 0.6342 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/0.6226, allocations: 8 kB / 0.6342 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/0.6227, allocations: 24 kB / 0.6342 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.74e-05/0.6227, allocations: 15.92 kB / 0.6342 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.6227, allocations: 8.25 kB / 0.6343 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.6258, allocations: 2.172 MB / 0.6364 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.6265, allocations: 315.3 kB / 0.6367 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.6268, allocations: 23.98 kB / 0.6367 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009591/0.6277, allocations: 55.92 kB / 0.6368 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.6279, allocations: 71.8 kB / 0.6368 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.628, allocations: 39.98 kB / 0.6369 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003292/0.6313, allocations: 1.815 MB / 0.6386 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6313, allocations: 0 / 0.6386 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003742/0.6351, allocations: 0.6326 MB / 0.6392 GB, free: 11.21 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.003882/0.639, allocations: 2.804 MB / 0.642 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005985/0.645, allocations: 3.272 MB / 0.6452 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.645, allocations: 288 / 0.6452 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.6462, allocations: 0.7943 MB / 0.646 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.6482, allocations: 277.5 kB / 0.6462 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04804/0.6963, allocations: 29.82 MB / 0.6753 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.6988, allocations: 2.206 MB / 0.6775 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003295/0.7021, allocations: 1.463 MB / 0.6789 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/0.704, allocations: 1.081 MB / 0.68 GB, free: 13.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/0.704, allocations: 0 / 0.68 GB, free: 13.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09122/0.7952, allocations: 41.3 MB / 0.7203 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/17.95, allocations: 13.41 kB / 0.7203 GB, free: 4.289 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches