Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001918/0.001918, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001938/0.001938, allocations: 213.1 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 46.89 MB / 361.3 MB, free: 4.441 MB / 286.1 MB " [Timeout remaining time 179] 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.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 83.8 kB / 0.4966 GB, free: 8.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3905, allocations: 66.03 MB / 0.561 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01478/0.4053, allocations: 11.58 MB / 0.5724 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007822/0.4131, allocations: 3.08 MB / 0.5754 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.4156, allocations: 71.75 kB / 0.5754 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003984/0.4196, allocations: 1.6 MB / 0.577 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.4245, allocations: 1.623 MB / 0.5786 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.4253, allocations: 111.8 kB / 0.5787 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005545/0.4308, allocations: 3.304 MB / 0.5819 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.4339, allocations: 1.707 MB / 0.5836 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.4362, allocations: 1.164 MB / 0.5847 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/0.4403, allocations: 2.599 MB / 0.5873 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009399/0.4413, allocations: 228 kB / 0.5875 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.4432, allocations: 0.7372 MB / 0.5882 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.4454, allocations: 1.542 MB / 0.5897 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00322/0.4487, allocations: 1.808 MB / 0.5915 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008523/0.4572, allocations: 5.943 MB / 0.5973 GB, free: 15.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.4572, allocations: 0 / 0.5973 GB, free: 15.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4572, allocations: 0 / 0.5973 GB, free: 15.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.4575, allocations: 0 / 0.5973 GB, free: 15.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.01259/0.4701, allocations: 4.108 MB / 0.6013 GB, free: 11.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.841e-05/0.4701, allocations: 8.031 kB / 0.6013 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002261/0.4724, allocations: 0.6916 MB / 0.602 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.4832, allocations: 2.989 MB / 0.6049 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/0.4885, allocations: 1.84 MB / 0.6067 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.4887, allocations: 188.7 kB / 0.6069 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.4898, allocations: 235.8 kB / 0.6071 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.5092, allocations: 9.764 MB / 0.6166 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.473e-05/0.5092, allocations: 15.81 kB / 0.6166 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007226/0.51, allocations: 119.8 kB / 0.6167 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004104/0.5141, allocations: 2.354 MB / 0.619 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/0.5336, allocations: 8.955 MB / 0.6278 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05525/0.5888, allocations: 29.57 MB / 0.6567 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00745/0.5963, allocations: 3.378 MB / 0.66 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.5982, allocations: 1.013 MB / 0.661 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/0.6124, allocations: 6.49 MB / 0.6673 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.6124, allocations: 43.2 kB / 0.6673 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.45e-06/0.6124, allocations: 0 / 0.6673 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.009436/0.6219, allocations: 3.139 MB / 0.6704 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.622, allocations: 123.3 kB / 0.6705 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005205/0.6272, allocations: 2.738 MB / 0.6732 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.6274, allocations: 41.7 kB / 0.6732 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002907/0.6303, allocations: 2.849 MB / 0.676 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009371/0.6313, allocations: 0.5388 MB / 0.6765 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/0.633, allocations: 0.933 MB / 0.6775 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6331, allocations: 301.1 kB / 0.6777 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.6356, allocations: 1.406 MB / 0.6791 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/0.6411, allocations: 4.225 MB / 0.6832 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008307/0.6494, allocations: 6.151 MB / 0.6892 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.6495, allocations: 32 kB / 0.6893 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01139/0.6609, allocations: 5.46 MB / 0.6946 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.661, allocations: 48 kB / 0.6947 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/0.6612, allocations: 96 kB / 0.6947 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.6613, allocations: 136.1 kB / 0.6949 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/0.6651, allocations: 0.9942 MB / 0.6958 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002453/0.6653, allocations: 203.4 kB / 0.696 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/0.6691, allocations: 0.632 MB / 0.6967 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009362/0.67, allocations: 288 kB / 0.6969 GB, free: 4.457 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.004308/0.6743, allocations: 1.979 MB / 0.6989 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/0.6749, allocations: 242.3 kB / 0.6991 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009134/0.6758, allocations: 292.8 kB / 0.6994 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.814e-05/0.6759, allocations: 16 kB / 0.6994 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.6759, allocations: 0 / 0.6994 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.6759, allocations: 7.984 kB / 0.6994 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.6905, allocations: 6.196 MB / 0.7054 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.6905, allocations: 8 kB / 0.7055 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.6912, allocations: 167.7 kB / 0.7056 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/0.6913, allocations: 12 kB / 0.7056 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.805e-05/0.6914, allocations: 31.98 kB / 0.7057 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.918e-05/0.6914, allocations: 15.94 kB / 0.7057 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.6914, allocations: 12.47 kB / 0.7057 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.6944, allocations: 2.011 MB / 0.7076 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.6951, allocations: 319.3 kB / 0.708 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/0.6955, allocations: 35.97 kB / 0.708 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.6963, allocations: 39.97 kB / 0.708 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.6965, allocations: 96.11 kB / 0.7081 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6966, allocations: 44 kB / 0.7082 GB, free: 8.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003392/0.7, allocations: 1.674 MB / 0.7098 GB, free: 6.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7, allocations: 0 / 0.7098 GB, free: 6.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005332/0.7053, allocations: 1.032 MB / 0.7108 GB, free: 5.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.003979/0.7093, allocations: 2.658 MB / 0.7134 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005978/0.7153, allocations: 3.133 MB / 0.7165 GB, free: 12 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.7153, allocations: 9.812 kB / 0.7165 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.7166, allocations: 0.7421 MB / 0.7172 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.7188, allocations: 306.7 kB / 0.7175 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3405/1.059, allocations: 31.05 MB / 0.7478 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00473/1.064, allocations: 3.098 MB / 0.7508 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003313/1.067, allocations: 1.543 MB / 0.7523 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002633/1.07, allocations: 1.597 MB / 0.7539 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.104e-06/1.07, allocations: 0 / 0.7539 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07688/1.147, allocations: 45.46 MB / 0.7983 GB, free: 96.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.84, allocations: 6.938 kB / 0.7983 GB, free: 96.52 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable surfaceWireframe.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceWireframe.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceWireframe.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! Error: Could not read variable surfaceSolid.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv. Warning: Get data of variable surfaceSolid.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.103169447975233]