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.001207/0.001208, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.0009909/0.0009912, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.259/1.259, 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.1895/0.1895, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3314, allocations: 60.82 MB / 0.5195 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006632/0.3381, allocations: 6.355 MB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.3422, allocations: 1.948 MB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008325/0.3431, allocations: 28.03 kB / 0.5277 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.3445, allocations: 0.6044 MB / 0.5283 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.3452, allocations: 217.5 kB / 0.5285 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3454, allocations: 47.56 kB / 0.5285 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.3459, allocations: 462.5 kB / 0.529 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006126/0.3465, allocations: 0.5227 MB / 0.5295 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.3469, allocations: 235.2 kB / 0.5297 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.3473, allocations: 303.6 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.3474, allocations: 42.56 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.3476, allocations: 82.92 kB / 0.5301 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.3479, allocations: 293.3 kB / 0.5304 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.3482, allocations: 340 kB / 0.5307 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.3491, allocations: 0.925 MB / 0.5316 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3491, allocations: 4 kB / 0.5316 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3492, allocations: 1 kB / 0.5316 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3492, allocations: 0 / 0.5316 GB, free: 11.43 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.001616/0.3508, allocations: 0.9931 MB / 0.5326 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3508, allocations: 8.594 kB / 0.5326 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/0.3514, allocations: 135.2 kB / 0.5327 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.352, allocations: 455.3 kB / 0.5332 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.3521, allocations: 35.33 kB / 0.5332 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.3522, allocations: 48.72 kB / 0.5332 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.3537, allocations: 1.246 MB / 0.5345 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3538, allocations: 6.906 kB / 0.5345 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.3538, allocations: 18.42 kB / 0.5345 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003996/0.3542, allocations: 251.2 kB / 0.5347 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3555, allocations: 0.8055 MB / 0.5355 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.3601, allocations: 5.028 MB / 0.5404 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3603, allocations: 66.59 kB / 0.5405 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3604, allocations: 56.86 kB / 0.5405 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3604, allocations: 0 / 0.5405 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3605, allocations: 35.73 kB / 0.5406 GB, free: 4.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3605, allocations: 0 / 0.5406 GB, free: 4.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005522/0.361, allocations: 206.9 kB / 0.5408 GB, free: 4.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3611, allocations: 56.59 kB / 0.5408 GB, free: 3.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3622, allocations: 0.8596 MB / 0.5417 GB, free: 3.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3622, allocations: 26.77 kB / 0.5417 GB, free: 3.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.3626, allocations: 0.5369 MB / 0.5422 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3626, allocations: 23.23 kB / 0.5422 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.3628, allocations: 178.1 kB / 0.5424 GB, free: 2.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.363, allocations: 373.3 kB / 0.5428 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.3632, allocations: 184.5 kB / 0.5429 GB, free: 2.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.3639, allocations: 0.7366 MB / 0.5437 GB, free: 1.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3649, allocations: 0.9763 MB / 0.5446 GB, free: 0.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.3649, allocations: 5.625 kB / 0.5446 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001382/0.3663, allocations: 0.8741 MB / 0.5455 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.3664, allocations: 17.61 kB / 0.5455 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.3664, allocations: 24.25 kB / 0.5455 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.3664, allocations: 30.25 kB / 0.5455 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.367, allocations: 172.7 kB / 0.5457 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-05/0.367, allocations: 38.95 kB / 0.5457 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/0.3676, allocations: 127.6 kB / 0.5459 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.3677, allocations: 55.03 kB / 0.5459 GB, free: 15.89 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.0004983/0.3682, allocations: 385.8 kB / 0.5463 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3683, allocations: 59.25 kB / 0.5463 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.3684, allocations: 65.44 kB / 0.5464 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3684, allocations: 7.938 kB / 0.5464 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3684, allocations: 0 / 0.5464 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3684, allocations: 0 / 0.5464 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.3691, allocations: 0.552 MB / 0.5469 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3691, allocations: 3.984 kB / 0.5469 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.3692, allocations: 11.98 kB / 0.547 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3692, allocations: 0 / 0.547 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3692, allocations: 4 kB / 0.547 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3692, allocations: 0 / 0.547 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3692, allocations: 0 / 0.547 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.3696, allocations: 274.5 kB / 0.5472 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3697, allocations: 136.6 kB / 0.5474 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.3698, allocations: 0 / 0.5474 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.37, allocations: 11.92 kB / 0.5474 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.37, allocations: 11.97 kB / 0.5474 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3701, allocations: 0 / 0.5474 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005805/0.3706, allocations: 0.5576 MB / 0.5479 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3706, allocations: 0 / 0.5479 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006573/0.3713, allocations: 155.4 kB / 0.5481 GB, free: 13.68 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.000111/0.3714, allocations: 99.25 kB / 0.5482 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.3721, allocations: 416.5 kB / 0.5486 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3721, allocations: 3.938 kB / 0.5486 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3722, allocations: 47.94 kB / 0.5486 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.3728, allocations: 102.1 kB / 0.5487 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.3748, allocations: 1.262 MB / 0.5499 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.3756, allocations: 1.022 MB / 0.5509 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3757, allocations: 51.38 kB / 0.551 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3757, allocations: 0 / 0.551 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.0121/0.3878, allocations: 8.126 MB / 0.5589 GB, free: 2.512 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