Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2406/0.2406, allocations: 46.94 MB / 361.7 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 0.497 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 66.03 MB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01054/0.327, allocations: 8.749 MB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.332, allocations: 2.318 MB / 0.5722 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006297/0.3327, allocations: 39.94 kB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.3356, allocations: 1.573 MB / 0.5738 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009958/0.3366, allocations: 493.3 kB / 0.5743 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.3368, allocations: 67.91 kB / 0.5744 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.338, allocations: 0.9371 MB / 0.5753 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.3394, allocations: 1.205 MB / 0.5764 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005793/0.3399, allocations: 0.5372 MB / 0.577 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000952/0.3409, allocations: 0.7239 MB / 0.5777 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.3411, allocations: 116 kB / 0.5778 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.3413, allocations: 124 kB / 0.5779 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.342, allocations: 0.7517 MB / 0.5786 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007742/0.3428, allocations: 0.8502 MB / 0.5795 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.3451, allocations: 2.325 MB / 0.5817 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3451, allocations: 0 / 0.5817 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3451, allocations: 3.984 kB / 0.5817 GB, free: 15.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.149e-05/0.3451, allocations: 0 / 0.5817 GB, free: 15.54 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002717/0.3478, allocations: 1.924 MB / 0.5836 GB, free: 13.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3479, allocations: 16.03 kB / 0.5836 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.643e-05/0.3479, allocations: 47.23 kB / 0.5837 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003442/0.3483, allocations: 330.5 kB / 0.584 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.3489, allocations: 223.4 kB / 0.5842 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3499, allocations: 0.6664 MB / 0.5849 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.791e-05/0.35, allocations: 119.1 kB / 0.585 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.3502, allocations: 147.9 kB / 0.5851 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.3543, allocations: 3.375 MB / 0.5884 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.3543, allocations: 15.88 kB / 0.5884 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.3544, allocations: 75.94 kB / 0.5885 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007555/0.3552, allocations: 0.6187 MB / 0.5891 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.358, allocations: 1.858 MB / 0.5909 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.3699, allocations: 13.45 MB / 0.6041 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.37, allocations: 173.1 kB / 0.6042 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.3701, allocations: 80.14 kB / 0.6043 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.3701, allocations: 75.28 kB / 0.6044 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.3702, allocations: 113.8 kB / 0.6045 GB, free: 7.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3702, allocations: 0 / 0.6045 GB, free: 7.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002146/0.3704, allocations: 160.8 kB / 0.6046 GB, free: 7.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.3705, allocations: 126.7 kB / 0.6048 GB, free: 7.082 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.3724, allocations: 1.647 MB / 0.6064 GB, free: 5.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3724, allocations: 25.7 kB / 0.6064 GB, free: 5.395 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.3734, allocations: 1.419 MB / 0.6078 GB, free: 3.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3735, allocations: 43.95 kB / 0.6078 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.3739, allocations: 431.1 kB / 0.6082 GB, free: 3.484 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3741, allocations: 357.9 kB / 0.6086 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.3746, allocations: 367.8 kB / 0.6089 GB, free: 2.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.3765, allocations: 1.929 MB / 0.6108 GB, free: 20 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.3792, allocations: 2.515 MB / 0.6133 GB, free: 12.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.3792, allocations: 16 kB / 0.6133 GB, free: 12.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003089/0.3823, allocations: 2.119 MB / 0.6153 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.3824, allocations: 28 kB / 0.6154 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.648e-05/0.3824, allocations: 60 kB / 0.6154 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-05/0.3825, allocations: 72.75 kB / 0.6155 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.3836, allocations: 491 kB / 0.616 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-05/0.3837, allocations: 115.5 kB / 0.6161 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.3849, allocations: 325.4 kB / 0.6164 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.385, allocations: 143.9 kB / 0.6165 GB, free: 9.348 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.001003/0.386, allocations: 0.8627 MB / 0.6174 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.3862, allocations: 232.1 kB / 0.6176 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3864, allocations: 232.1 kB / 0.6178 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-05/0.3865, allocations: 176.3 kB / 0.618 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.172e-05/0.3866, allocations: 184.2 kB / 0.6181 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/0.3866, allocations: 176.3 kB / 0.6183 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3882, allocations: 1.461 MB / 0.6197 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/0.3883, allocations: 112.9 kB / 0.6199 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.3883, allocations: 101 kB / 0.6199 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-05/0.3884, allocations: 184.2 kB / 0.6201 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.3885, allocations: 180.2 kB / 0.6203 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.718e-05/0.3886, allocations: 180.3 kB / 0.6205 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-05/0.3887, allocations: 188.2 kB / 0.6206 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.3889, allocations: 437.9 kB / 0.6211 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.3892, allocations: 220.1 kB / 0.6213 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.3894, allocations: 176.3 kB / 0.6214 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3896, allocations: 112.9 kB / 0.6215 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.3897, allocations: 184.3 kB / 0.6217 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.3898, allocations: 104.9 kB / 0.6218 GB, free: 3.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00126/0.391, allocations: 1.014 MB / 0.6228 GB, free: 2.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 0.6228 GB, free: 2.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001536/0.3926, allocations: 430.7 kB / 0.6232 GB, free: 2.266 MB / 462.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 (0): * Single equations (assignments): 0 * 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.0006735/0.3932, allocations: 0.9446 MB / 0.6241 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.3946, allocations: 0.8719 MB / 0.625 GB, free: 444 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3946, allocations: 0 / 0.625 GB, free: 444 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-06/0.3946, allocations: 4.688 kB / 0.625 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.3955, allocations: 0.5819 MB / 0.6256 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.412, allocations: 13.6 MB / 0.6389 GB, free: 472 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.4134, allocations: 1.576 MB / 0.6404 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001136/0.4146, allocations: 0.4914 MB / 0.6409 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/0.4153, allocations: 0.6594 MB / 0.6415 GB, free: 13.69 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4153, allocations: 0 / 0.6415 GB, free: 13.69 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/0.4637, allocations: 23.4 MB / 0.6644 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.59, allocations: 0 / 0.6644 GB, free: 6.504 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.354205057024956]