Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001179/0.001179, allocations: 79.69 kB / 20.02 MB, free: 4.504 MB / 18.57 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.0009178/0.0009178, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8702/0.8702, allocations: 158.6 MB / 185.1 MB, free: 2.988 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1254/0.1254, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.117e-05, allocations: 10.08 kB / 407.1 MB, free: 2.121 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01205/0.01207, allocations: 11.06 MB / 418.1 MB, free: 7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006175/0.01824, allocations: 3.711 MB / 421.8 MB, free: 3.277 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009732/0.01922, allocations: 71.75 kB / 421.9 MB, free: 3.207 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.02096, allocations: 1.362 MB / 423.3 MB, free: 1.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.02345, allocations: 1.898 MB / 425.2 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.02412, allocations: 462.9 kB / 425.6 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.02703, allocations: 3.995 MB / 429.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.02906, allocations: 2.156 MB / 431.8 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.03086, allocations: 1.91 MB / 433.7 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.03262, allocations: 1.999 MB / 435.7 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.03298, allocations: 244 kB / 435.9 MB, free: 5.121 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.03391, allocations: 0.7957 MB / 436.7 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009388/0.03485, allocations: 1.733 MB / 438.5 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009189/0.03577, allocations: 1.055 MB / 439.5 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.03975, allocations: 6.24 MB / 445.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03975, allocations: 0 / 445.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03975, allocations: 0 / 445.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001427/0.0399, allocations: 4 kB / 445.8 MB, free: 11.26 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.005191/0.04509, allocations: 4.213 MB / 450 MB, free: 6.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.04513, allocations: 8.031 kB / 450 MB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006225/0.04575, allocations: 0.7246 MB / 450.7 MB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/0.05144, allocations: 3.188 MB / 453.9 MB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.05367, allocations: 2.109 MB / 456 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-05/0.05377, allocations: 197.2 kB / 456.2 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/0.05408, allocations: 248.2 kB / 456.4 MB, free: 480 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008487/0.06256, allocations: 10.39 MB / 466.8 MB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.616e-05/0.06262, allocations: 27.77 kB / 466.8 MB, free: 5.582 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.06288, allocations: 123.8 kB / 467 MB, free: 5.461 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002346/0.06523, allocations: 2.534 MB / 469.5 MB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.179/0.2442, allocations: 9.429 MB / 478.9 MB, free: 91.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/0.267, allocations: 31.01 MB / 0.498 GB, free: 72.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.2703, allocations: 2.45 MB / 0.5004 GB, free: 71.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009032/0.2712, allocations: 1.001 MB / 0.5014 GB, free: 71.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/0.2717, allocations: 434.5 kB / 0.5018 GB, free: 71.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2717, allocations: 54.53 kB / 0.5018 GB, free: 71.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=187): time 4.418e-06/0.2717, allocations: 0 / 0.5018 GB, free: 71.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=193): time 0.01215/0.2839, allocations: 10.04 MB / 0.5116 GB, free: 67.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2839, allocations: 100.4 kB / 0.5117 GB, free: 67.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.2865, allocations: 3.033 MB / 0.5147 GB, free: 66.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.2865, allocations: 46.27 kB / 0.5147 GB, free: 66.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009424/0.2875, allocations: 2.849 MB / 0.5175 GB, free: 64.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.2877, allocations: 0.7225 MB / 0.5182 GB, free: 63.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006804/0.2884, allocations: 0.9745 MB / 0.5192 GB, free: 63.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.2885, allocations: 301.9 kB / 0.5195 GB, free: 62.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.2899, allocations: 1.563 MB / 0.521 GB, free: 61.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.292, allocations: 4.464 MB / 0.5253 GB, free: 56.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/0.2958, allocations: 6.68 MB / 0.5319 GB, free: 48.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/0.2959, allocations: 28 kB / 0.5319 GB, free: 48.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.004655/0.3005, allocations: 5.953 MB / 0.5377 GB, free: 43.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.3006, allocations: 48 kB / 0.5378 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.837e-05/0.3006, allocations: 104.9 kB / 0.5379 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.3008, allocations: 182.3 kB / 0.538 GB, free: 43.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.3024, allocations: 1.087 MB / 0.5391 GB, free: 42.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008834/0.3032, allocations: 1.698 MB / 0.5407 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.3047, allocations: 251.7 kB / 0.541 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.3049, allocations: 303.5 kB / 0.5413 GB, free: 39.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (605): * Single equations (assignments): 598 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00183/0.3068, allocations: 2.028 MB / 0.5433 GB, free: 38.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.3069, allocations: 270.2 kB / 0.5435 GB, free: 37.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3089, allocations: 2.533 MB / 0.546 GB, free: 35.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.3089, allocations: 24 kB / 0.546 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3089, allocations: 4 kB / 0.546 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.3089, allocations: 7.922 kB / 0.546 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006422/0.3153, allocations: 7.998 MB / 0.5538 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3153, allocations: 12 kB / 0.5538 GB, free: 27.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.3158, allocations: 251.6 kB / 0.5541 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.993e-05/0.3159, allocations: 60.77 kB / 0.5541 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.316, allocations: 43.98 kB / 0.5542 GB, free: 26.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006987/0.3167, allocations: 1.522 MB / 0.5557 GB, free: 25.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.3167, allocations: 19.92 kB / 0.5557 GB, free: 25.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.3194, allocations: 4.048 MB / 0.5596 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/0.3199, allocations: 470.1 kB / 0.5601 GB, free: 20.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.32, allocations: 43.66 kB / 0.5601 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.3205, allocations: 79.91 kB / 0.5602 GB, free: 20.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3206, allocations: 128.6 kB / 0.5603 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.3207, allocations: 63.98 kB / 0.5604 GB, free: 20.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001264/0.3219, allocations: 1.789 MB / 0.5621 GB, free: 18.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3219, allocations: 0 / 0.5621 GB, free: 18.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002127/0.3241, allocations: 0.8824 MB / 0.563 GB, free: 17.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002858/0.3269, allocations: 4.745 MB / 0.5676 GB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00294/0.3299, allocations: 3.76 MB / 0.5713 GB, free: 8.863 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3299, allocations: 4 kB / 0.5713 GB, free: 8.859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.3306, allocations: 1.175 MB / 0.5725 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.3316, allocations: 354.1 kB / 0.5728 GB, free: 7.348 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02774/0.3593, allocations: 34.66 MB / 0.6066 GB, free: 264 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.3615, allocations: 2.657 MB / 0.6092 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002236/0.3637, allocations: 1.749 MB / 0.6109 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.3651, allocations: 1.762 MB / 0.6127 GB, free: 10.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3651, allocations: 0 / 0.6127 GB, free: 10.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2047/0.5698, allocations: 47.51 MB / 0.6591 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.249/9.819, allocations: 7.391 kB / 0.6591 GB, free: 160.4 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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: 11.932207640260458]