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.001924/0.001924, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00223/0.00223, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.961 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.237/0.237, allocations: 46.93 MB / 360.9 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 66.04 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01085/0.357, allocations: 8.755 MB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.3629, allocations: 2.318 MB / 0.5715 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.3641, allocations: 43.88 kB / 0.5715 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.3677, allocations: 1.561 MB / 0.5731 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3692, allocations: 493.3 kB / 0.5735 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.3695, allocations: 71.89 kB / 0.5736 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3709, allocations: 0.9254 MB / 0.5745 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.3725, allocations: 1.213 MB / 0.5757 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.3733, allocations: 0.5372 MB / 0.5762 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.3745, allocations: 0.7278 MB / 0.5769 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.3747, allocations: 116 kB / 0.577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.375, allocations: 124 kB / 0.5771 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007434/0.3758, allocations: 0.74 MB / 0.5779 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008793/0.3767, allocations: 0.8541 MB / 0.5787 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.3794, allocations: 2.329 MB / 0.581 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3794, allocations: 4 kB / 0.581 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3794, allocations: 0 / 0.581 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.092e-05/0.3795, allocations: 0 / 0.581 GB, free: 15.41 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.00311/0.3826, allocations: 1.924 MB / 0.5829 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.3826, allocations: 12.03 kB / 0.5829 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004021/0.383, allocations: 334.5 kB / 0.5832 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.3836, allocations: 223.4 kB / 0.5834 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.385, allocations: 0.6626 MB / 0.584 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/0.3851, allocations: 119.4 kB / 0.5842 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.3853, allocations: 151.9 kB / 0.5843 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004723/0.39, allocations: 3.379 MB / 0.5876 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.39, allocations: 11.88 kB / 0.5876 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.3902, allocations: 75.94 kB / 0.5877 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008007/0.391, allocations: 0.6187 MB / 0.5883 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.3945, allocations: 1.854 MB / 0.5901 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.4094, allocations: 13.45 MB / 0.6032 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4095, allocations: 165.1 kB / 0.6034 GB, free: 7.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.4096, allocations: 92.08 kB / 0.6035 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.4096, allocations: 75.28 kB / 0.6036 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.4097, allocations: 109.8 kB / 0.6037 GB, free: 7.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.545e-06/0.4097, allocations: 0 / 0.6037 GB, free: 7.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000347/0.41, allocations: 156.8 kB / 0.6038 GB, free: 7.148 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.4101, allocations: 130.7 kB / 0.6039 GB, free: 7.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.4124, allocations: 1.659 MB / 0.6056 GB, free: 5.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4124, allocations: 25.7 kB / 0.6056 GB, free: 5.309 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.4136, allocations: 1.416 MB / 0.607 GB, free: 3.875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.4137, allocations: 43.95 kB / 0.607 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004995/0.4142, allocations: 427.1 kB / 0.6074 GB, free: 3.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4144, allocations: 353.9 kB / 0.6077 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.4149, allocations: 375.8 kB / 0.6081 GB, free: 2.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.4169, allocations: 1.929 MB / 0.61 GB, free: 15.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.4201, allocations: 2.503 MB / 0.6124 GB, free: 12.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.718e-05/0.4201, allocations: 16 kB / 0.6125 GB, free: 12.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003797/0.4239, allocations: 2.127 MB / 0.6145 GB, free: 10.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.424, allocations: 28 kB / 0.6146 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/0.424, allocations: 56 kB / 0.6146 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.475e-05/0.4241, allocations: 76 kB / 0.6147 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4253, allocations: 487 kB / 0.6151 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001027/0.4254, allocations: 115.5 kB / 0.6153 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.427, allocations: 333.5 kB / 0.6156 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.4272, allocations: 136 kB / 0.6157 GB, free: 9.273 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.001231/0.4284, allocations: 0.8589 MB / 0.6165 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.4286, allocations: 236.1 kB / 0.6168 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.4289, allocations: 228.1 kB / 0.617 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.994e-05/0.4289, allocations: 184.3 kB / 0.6172 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-05/0.429, allocations: 192.2 kB / 0.6173 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.171e-05/0.4291, allocations: 176.3 kB / 0.6175 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.431, allocations: 1.449 MB / 0.6189 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/0.431, allocations: 108.9 kB / 0.619 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.4311, allocations: 108.9 kB / 0.6191 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.538e-05/0.4312, allocations: 184.2 kB / 0.6193 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/0.4312, allocations: 180.3 kB / 0.6195 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.45e-05/0.4313, allocations: 176.3 kB / 0.6197 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.838e-05/0.4314, allocations: 188.2 kB / 0.6198 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.4317, allocations: 433.9 kB / 0.6202 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.432, allocations: 224.1 kB / 0.6205 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.4322, allocations: 180.3 kB / 0.6206 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.4325, allocations: 108.9 kB / 0.6207 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.4326, allocations: 176.3 kB / 0.6209 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.4327, allocations: 104.9 kB / 0.621 GB, free: 3.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001379/0.434, allocations: 1.014 MB / 0.622 GB, free: 2.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.434, allocations: 4 kB / 0.622 GB, free: 2.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001688/0.4357, allocations: 438.7 kB / 0.6224 GB, free: 2.188 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.0006739/0.4364, allocations: 0.9368 MB / 0.6233 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.4379, allocations: 0.868 MB / 0.6242 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4379, allocations: 0 / 0.6242 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.4379, allocations: 0 / 0.6242 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.4389, allocations: 0.5835 MB / 0.6247 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/0.4573, allocations: 13.6 MB / 0.638 GB, free: 404 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.4589, allocations: 1.579 MB / 0.6396 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.4602, allocations: 0.4914 MB / 0.64 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009391/0.4611, allocations: 0.6672 MB / 0.6407 GB, free: 13.61 MB / 494.1 MB Notification: Performance of SimCode: time 2.004e-06/0.4611, allocations: 0 / 0.6407 GB, free: 13.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06244/0.5236, allocations: 23.36 MB / 0.6635 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.45, allocations: 7.984 kB / 0.6635 GB, free: 6.434 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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: 17.54813246699632]