Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.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.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001753, allocations: 201.2 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.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.001651, allocations: 71.89 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3513, allocations: 62.45 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008214/0.3596, allocations: 6.246 MB / 0.5366 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00483/0.3645, allocations: 1.969 MB / 0.5385 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.3659, allocations: 28.09 kB / 0.5385 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.3677, allocations: 0.6239 MB / 0.5392 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008062/0.3686, allocations: 187 kB / 0.5393 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.369, allocations: 55.81 kB / 0.5394 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.3698, allocations: 427.1 kB / 0.5398 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009429/0.3708, allocations: 0.4984 MB / 0.5403 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.3714, allocations: 226.4 kB / 0.5405 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/0.3721, allocations: 283 kB / 0.5408 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.3722, allocations: 40.94 kB / 0.5408 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.3726, allocations: 88.48 kB / 0.5409 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.373, allocations: 260.2 kB / 0.5411 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.3736, allocations: 317.2 kB / 0.5414 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3749, allocations: 0.8262 MB / 0.5422 GB, free: 4.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3749, allocations: 0 / 0.5422 GB, free: 4.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.375, allocations: 1.5 kB / 0.5422 GB, free: 4.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.494e-05/0.375, allocations: 0 / 0.5422 GB, free: 4.566 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002493/0.3775, allocations: 0.942 MB / 0.5432 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3776, allocations: 9.719 kB / 0.5432 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002347/0.3778, allocations: 109.6 kB / 0.5433 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.3788, allocations: 153.8 kB / 0.5434 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.38, allocations: 440.6 kB / 0.5439 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.38, allocations: 33.23 kB / 0.5439 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3802, allocations: 49.98 kB / 0.5439 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.3822, allocations: 1.075 MB / 0.545 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.3822, allocations: 6.188 kB / 0.545 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.3823, allocations: 22.83 kB / 0.545 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004274/0.3828, allocations: 197.8 kB / 0.5452 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.3842, allocations: 0.7118 MB / 0.5459 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.3897, allocations: 4.645 MB / 0.5504 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.39, allocations: 66.45 kB / 0.5505 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3902, allocations: 48.91 kB / 0.5505 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3902, allocations: 0 / 0.5505 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3902, allocations: 34.56 kB / 0.5506 GB, free: 12.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.073e-06/0.3902, allocations: 0 / 0.5506 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006797/0.3909, allocations: 212.7 kB / 0.5508 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.391, allocations: 51.41 kB / 0.5508 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.3923, allocations: 0.8202 MB / 0.5516 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3923, allocations: 33.64 kB / 0.5517 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.3928, allocations: 0.5005 MB / 0.5521 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3928, allocations: 27.78 kB / 0.5522 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.3931, allocations: 166.4 kB / 0.5523 GB, free: 10.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3933, allocations: 378.8 kB / 0.5527 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.3937, allocations: 177.8 kB / 0.5529 GB, free: 10.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/0.3944, allocations: 0.7351 MB / 0.5536 GB, free: 9.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.3956, allocations: 0.982 MB / 0.5545 GB, free: 8.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/0.3956, allocations: 8 kB / 0.5545 GB, free: 8.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001677/0.3973, allocations: 0.8609 MB / 0.5554 GB, free: 7.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.3974, allocations: 23.97 kB / 0.5554 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.3974, allocations: 20 kB / 0.5554 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.477e-05/0.3975, allocations: 27.94 kB / 0.5555 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.398, allocations: 175.6 kB / 0.5556 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.755e-05/0.3981, allocations: 43.84 kB / 0.5557 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/0.3989, allocations: 122.7 kB / 0.5558 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.3989, allocations: 48 kB / 0.5558 GB, free: 6.777 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.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.0005458/0.3995, allocations: 367.6 kB / 0.5562 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.3997, allocations: 59.25 kB / 0.5562 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.3998, allocations: 65.22 kB / 0.5563 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3998, allocations: 0 / 0.5563 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3998, allocations: 0 / 0.5563 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3998, allocations: 0 / 0.5563 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.4006, allocations: 0.4973 MB / 0.5568 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4006, allocations: 0 / 0.5568 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4008, allocations: 15.92 kB / 0.5568 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4008, allocations: 8 kB / 0.5568 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4008, allocations: 3.938 kB / 0.5568 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4008, allocations: 0 / 0.5568 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4008, allocations: 0 / 0.5568 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.4012, allocations: 262.7 kB / 0.5571 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.4015, allocations: 132.3 kB / 0.5572 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.4016, allocations: 7.938 kB / 0.5572 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4018, allocations: 11.98 kB / 0.5572 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.4019, allocations: 11.92 kB / 0.5572 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4019, allocations: 0 / 0.5572 GB, free: 5.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008318/0.4027, allocations: 0.5302 MB / 0.5577 GB, free: 4.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4027, allocations: 0 / 0.5577 GB, free: 4.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008573/0.4036, allocations: 139.6 kB / 0.5579 GB, free: 4.582 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.0008027/0.4044, allocations: 0.7976 MB / 0.5586 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.4053, allocations: 423.5 kB / 0.559 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4053, allocations: 0 / 0.559 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4055, allocations: 47.94 kB / 0.5591 GB, free: 3.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.4062, allocations: 109.7 kB / 0.5592 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00932/0.4156, allocations: 6.077 MB / 0.5651 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.4164, allocations: 0.9909 MB / 0.5661 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005363/0.4169, allocations: 204.8 kB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.4173, allocations: 235.3 kB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4174, allocations: 0 / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.4554, allocations: 11.1 MB / 0.5774 GB, free: 36 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.15/9.605, allocations: 11.44 kB / 0.5774 GB, free: 28 kB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches