Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.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.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",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.001613/0.001613, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.00182/0.00182, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2125/0.2125, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006819/0.3294, allocations: 6.342 MB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.3345, allocations: 1.945 MB / 0.5265 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008852/0.3354, allocations: 27 kB / 0.5265 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.3371, allocations: 0.6011 MB / 0.5271 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006961/0.3378, allocations: 226.7 kB / 0.5273 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3381, allocations: 52.11 kB / 0.5274 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006224/0.3387, allocations: 460 kB / 0.5278 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008099/0.3395, allocations: 0.5221 MB / 0.5283 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.3399, allocations: 235.9 kB / 0.5286 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.3404, allocations: 305.7 kB / 0.5288 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.3405, allocations: 42.09 kB / 0.5289 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.3407, allocations: 84.27 kB / 0.529 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.341, allocations: 288.3 kB / 0.5292 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.3415, allocations: 351.3 kB / 0.5296 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3426, allocations: 0.9243 MB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3427, allocations: 4.875 kB / 0.5305 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3427, allocations: 0 / 0.5305 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.3427, allocations: 0 / 0.5305 GB, free: 11.26 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001743/0.3444, allocations: 1.014 MB / 0.5315 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.3445, allocations: 13.39 kB / 0.5315 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.3447, allocations: 126.3 kB / 0.5316 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.3454, allocations: 143.5 kB / 0.5317 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.3462, allocations: 451.4 kB / 0.5322 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.3463, allocations: 36.27 kB / 0.5322 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.3464, allocations: 47.89 kB / 0.5323 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.3482, allocations: 1.243 MB / 0.5335 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3483, allocations: 10.59 kB / 0.5335 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.3483, allocations: 19.42 kB / 0.5335 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003918/0.3487, allocations: 250 kB / 0.5337 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3502, allocations: 0.805 MB / 0.5345 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004727/0.3549, allocations: 5.054 MB / 0.5395 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.3551, allocations: 65.75 kB / 0.5395 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3553, allocations: 48.66 kB / 0.5396 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3553, allocations: 0 / 0.5396 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3553, allocations: 31.72 kB / 0.5396 GB, free: 3.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3553, allocations: 0 / 0.5396 GB, free: 3.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.3559, allocations: 220.2 kB / 0.5398 GB, free: 3.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3559, allocations: 52.34 kB / 0.5399 GB, free: 3.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.357, allocations: 0.8562 MB / 0.5407 GB, free: 3.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.357, allocations: 25.7 kB / 0.5407 GB, free: 3.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.3574, allocations: 0.5585 MB / 0.5413 GB, free: 2.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.3575, allocations: 22.67 kB / 0.5413 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.3577, allocations: 179.3 kB / 0.5415 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3579, allocations: 376.9 kB / 0.5418 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.3582, allocations: 180.4 kB / 0.542 GB, free: 2.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.3589, allocations: 0.7329 MB / 0.5427 GB, free: 1.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.36, allocations: 0.985 MB / 0.5437 GB, free: 168 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.3601, allocations: 9.219 kB / 0.5437 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001467/0.3615, allocations: 0.879 MB / 0.5445 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.3616, allocations: 13.84 kB / 0.5445 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.3616, allocations: 19.16 kB / 0.5446 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.334e-05/0.3617, allocations: 30.7 kB / 0.5446 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.3622, allocations: 173.7 kB / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.52e-05/0.3622, allocations: 41.55 kB / 0.5448 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.3629, allocations: 123.3 kB / 0.5449 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.3629, allocations: 48.06 kB / 0.545 GB, free: 15.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * 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.0005532/0.3635, allocations: 393.4 kB / 0.5453 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.3636, allocations: 66.77 kB / 0.5454 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.3638, allocations: 67.41 kB / 0.5455 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3638, allocations: 0 / 0.5455 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3638, allocations: 5.125 kB / 0.5455 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3638, allocations: 0 / 0.5455 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.3645, allocations: 0.5499 MB / 0.546 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3645, allocations: 0 / 0.546 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.3646, allocations: 15.97 kB / 0.546 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3646, allocations: 0 / 0.546 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.3646, allocations: 4 kB / 0.546 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3646, allocations: 0 / 0.546 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3646, allocations: 0 / 0.546 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.365, allocations: 282.9 kB / 0.5463 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.3651, allocations: 140.6 kB / 0.5464 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.3652, allocations: 0 / 0.5464 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3654, allocations: 11.98 kB / 0.5464 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.3655, allocations: 7.984 kB / 0.5465 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3655, allocations: 4 kB / 0.5465 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006202/0.3661, allocations: 0.5576 MB / 0.547 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3661, allocations: 0 / 0.547 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007102/0.3668, allocations: 151.7 kB / 0.5471 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0007325/0.3676, allocations: 0.8096 MB / 0.5479 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006797/0.3683, allocations: 416.5 kB / 0.5483 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3683, allocations: 192 / 0.5483 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3684, allocations: 55.94 kB / 0.5484 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.369, allocations: 101.8 kB / 0.5485 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007599/0.3766, allocations: 6.305 MB / 0.5546 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.3773, allocations: 1.034 MB / 0.5556 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005019/0.3778, allocations: 216.8 kB / 0.5559 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.3781, allocations: 251.3 kB / 0.5561 GB, free: 3.645 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3781, allocations: 0 / 0.5561 GB, free: 3.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.4095, allocations: 11.48 MB / 0.5673 GB, free: 8.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.444/9.853, allocations: 8.953 kB / 0.5673 GB, free: 8.285 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches