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.001045/0.001045, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 72.67 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.09002, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006407/0.09645, allocations: 6.237 MB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.09946, allocations: 1.978 MB / 488.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.09991, allocations: 31.88 kB / 488.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1011, allocations: 0.6151 MB / 489 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1015, allocations: 194.9 kB / 489.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1017, allocations: 59.86 kB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.1021, allocations: 422.2 kB / 489.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.1025, allocations: 0.4949 MB / 490.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1028, allocations: 215.1 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.1031, allocations: 282.9 kB / 490.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.1032, allocations: 40 kB / 490.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.1033, allocations: 87.89 kB / 490.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.1035, allocations: 271.2 kB / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.1038, allocations: 314 kB / 491.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.1044, allocations: 0.7941 MB / 492.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1044, allocations: 0 / 492.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1044, allocations: 0 / 492.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1044, allocations: 0 / 492.1 MB, free: 9.141 MB / 366.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.001099/0.1055, allocations: 0.9463 MB / 493.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1055, allocations: 12.03 kB / 493.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.062e-05/0.1056, allocations: 106.7 kB / 493.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.1063, allocations: 155.8 kB / 493.3 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.1068, allocations: 441.7 kB / 493.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1068, allocations: 29.36 kB / 493.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.1069, allocations: 47.92 kB / 493.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1081, allocations: 1.082 MB / 494.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1081, allocations: 3.938 kB / 494.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.1081, allocations: 23.98 kB / 495 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003001/0.1084, allocations: 192.3 kB / 495.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009872/0.1094, allocations: 0.72 MB / 495.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.1125, allocations: 4.657 MB / 0.4888 GB, free: 360 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1127, allocations: 62.47 kB / 0.4888 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.1128, allocations: 52.89 kB / 0.4889 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1128, allocations: 4 kB / 0.4889 GB, free: 228 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1128, allocations: 34.55 kB / 0.4889 GB, free: 184 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1129, allocations: 0 / 0.4889 GB, free: 184 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004457/0.1133, allocations: 212.7 kB / 0.4891 GB, free: 15.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1133, allocations: 55.41 kB / 0.4892 GB, free: 15.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/0.1141, allocations: 0.8203 MB / 0.49 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1141, allocations: 25.7 kB / 0.49 GB, free: 15.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.1144, allocations: 0.5044 MB / 0.4905 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1144, allocations: 27.8 kB / 0.4905 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.1146, allocations: 170.4 kB / 0.4907 GB, free: 14.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1147, allocations: 370.8 kB / 0.491 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.115, allocations: 185.9 kB / 0.4912 GB, free: 13.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.1156, allocations: 0.7312 MB / 0.4919 GB, free: 12.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009216/0.1165, allocations: 0.9781 MB / 0.4929 GB, free: 11.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.1165, allocations: 8 kB / 0.4929 GB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001181/0.1177, allocations: 0.8759 MB / 0.4938 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1177, allocations: 12 kB / 0.4938 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.1177, allocations: 20 kB / 0.4938 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.1178, allocations: 31.94 kB / 0.4938 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.1182, allocations: 171.7 kB / 0.494 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.1183, allocations: 36.42 kB / 0.494 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.1187, allocations: 122.8 kB / 0.4941 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.1188, allocations: 48 kB / 0.4942 GB, free: 10.17 MB / 382.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.0003116/0.1191, allocations: 359.5 kB / 0.4945 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.1191, allocations: 59.16 kB / 0.4946 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.1192, allocations: 69.2 kB / 0.4946 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1192, allocations: 4 kB / 0.4946 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1193, allocations: 3.938 kB / 0.4947 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1193, allocations: 4 kB / 0.4947 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.1197, allocations: 0.4896 MB / 0.4951 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1197, allocations: 0 / 0.4951 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.1198, allocations: 11.98 kB / 0.4951 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1198, allocations: 0 / 0.4951 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1198, allocations: 7.922 kB / 0.4952 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1199, allocations: 0 / 0.4952 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1199, allocations: 4 kB / 0.4952 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1202, allocations: 270.6 kB / 0.4954 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.1203, allocations: 124.6 kB / 0.4955 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.1203, allocations: 11.94 kB / 0.4955 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1205, allocations: 7.984 kB / 0.4956 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1206, allocations: 15.91 kB / 0.4956 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1206, allocations: 4 kB / 0.4956 GB, free: 8.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005169/0.1211, allocations: 0.5302 MB / 0.4961 GB, free: 8.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1211, allocations: 4 kB / 0.4961 GB, free: 8.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.1217, allocations: 135.7 kB / 0.4962 GB, free: 7.977 MB / 382.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.0005341/0.1222, allocations: 0.7975 MB / 0.497 GB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005706/0.1228, allocations: 424.5 kB / 0.4974 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1228, allocations: 0 / 0.4974 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1229, allocations: 48.02 kB / 0.4975 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.1234, allocations: 85.55 kB / 0.4975 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1499/0.2733, allocations: 6.281 MB / 0.5037 GB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.2738, allocations: 0.9852 MB / 0.5046 GB, free: 40.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005234/0.2743, allocations: 207.7 kB / 0.5048 GB, free: 40.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.2745, allocations: 232 kB / 0.505 GB, free: 40.46 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2745, allocations: 0 / 0.505 GB, free: 40.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2056/0.4801, allocations: 10.77 MB / 0.5156 GB, free: 38.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.893/9.373, allocations: 5.969 kB / 0.5156 GB, free: 38.08 MB / 382.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