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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 106.8 kB / 18.45 MB, free: 4.602 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.001411/0.001411, allocations: 183 kB / 19.38 MB, free: 3.68 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.477/1.477, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2119/0.2119, allocations: 44.17 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3968, allocations: 60.81 MB / 0.5195 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007201/0.4041, allocations: 6.36 MB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.4082, allocations: 1.944 MB / 0.5277 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.4088, allocations: 23.38 kB / 0.5277 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.4103, allocations: 0.608 MB / 0.5283 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.4108, allocations: 233 kB / 0.5285 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.4111, allocations: 46.05 kB / 0.5285 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.4116, allocations: 464.3 kB / 0.529 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.4122, allocations: 0.5186 MB / 0.5295 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.4126, allocations: 237.9 kB / 0.5297 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.413, allocations: 304.8 kB / 0.53 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.798e-05/0.4131, allocations: 41.44 kB / 0.53 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.4133, allocations: 79.84 kB / 0.5301 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.4136, allocations: 296 kB / 0.5304 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.4139, allocations: 343.6 kB / 0.5307 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.4149, allocations: 0.9191 MB / 0.5316 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4149, allocations: 0 / 0.5316 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4149, allocations: 4 kB / 0.5316 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.4149, allocations: 0 / 0.5316 GB, free: 11.45 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.001488/0.4164, allocations: 0.9975 MB / 0.5326 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4165, allocations: 8.344 kB / 0.5326 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.417, allocations: 130.7 kB / 0.5327 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.4177, allocations: 459.2 kB / 0.5332 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.4177, allocations: 31.17 kB / 0.5332 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.4178, allocations: 48.58 kB / 0.5333 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.4194, allocations: 1.238 MB / 0.5345 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.4194, allocations: 11 kB / 0.5345 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.4195, allocations: 27.17 kB / 0.5345 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004271/0.4199, allocations: 247 kB / 0.5347 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.4212, allocations: 0.8045 MB / 0.5355 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.4256, allocations: 5.029 MB / 0.5404 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.4258, allocations: 61.91 kB / 0.5405 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4259, allocations: 56.11 kB / 0.5405 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4259, allocations: 1.406 kB / 0.5405 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4259, allocations: 30.56 kB / 0.5406 GB, free: 4.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.426, allocations: 0 / 0.5406 GB, free: 4.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005154/0.4265, allocations: 212.5 kB / 0.5408 GB, free: 4.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.4265, allocations: 55.39 kB / 0.5408 GB, free: 3.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.4275, allocations: 0.856 MB / 0.5417 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4276, allocations: 26.83 kB / 0.5417 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.4279, allocations: 0.5326 MB / 0.5422 GB, free: 2.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.428, allocations: 26.95 kB / 0.5422 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.4282, allocations: 174.9 kB / 0.5424 GB, free: 2.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4284, allocations: 376.9 kB / 0.5428 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.4287, allocations: 184.3 kB / 0.5429 GB, free: 2.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.4294, allocations: 0.741 MB / 0.5437 GB, free: 1.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.4304, allocations: 0.9768 MB / 0.5446 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4305, allocations: 5.844 kB / 0.5446 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001438/0.4319, allocations: 0.8773 MB / 0.5455 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.4319, allocations: 13.78 kB / 0.5455 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.432, allocations: 25.25 kB / 0.5455 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/0.432, allocations: 26.06 kB / 0.5455 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.4325, allocations: 183.7 kB / 0.5457 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.466e-05/0.4326, allocations: 38.53 kB / 0.5458 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.4332, allocations: 122.9 kB / 0.5459 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.4333, allocations: 48.09 kB / 0.5459 GB, free: 15.91 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.0004458/0.4337, allocations: 385 kB / 0.5463 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.4338, allocations: 67.12 kB / 0.5463 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4339, allocations: 69.44 kB / 0.5464 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4339, allocations: 0 / 0.5464 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4339, allocations: 0 / 0.5464 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.4341, allocations: 132.3 kB / 0.5465 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.4342, allocations: 3.938 kB / 0.5465 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.4344, allocations: 15.98 kB / 0.5466 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.4345, allocations: 7.984 kB / 0.5466 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003149/0.4348, allocations: 196.8 kB / 0.5468 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003547/0.4352, allocations: 349.9 kB / 0.5471 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001131/0.4353, allocations: 47.89 kB / 0.5471 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00062/0.4359, allocations: 0.5536 MB / 0.5477 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.4359, allocations: 0 / 0.5477 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.4368, allocations: 460.5 kB / 0.5481 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 0.002328/0.4392, allocations: 1.761 MB / 0.5498 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Templates: time 0.0128/0.452, allocations: 5.54 MB / 0.5552 GB, free: 6.355 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches