Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001413/0.001413, allocations: 113.4 kB / 20.43 MB, free: 1.457 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.001718/0.001718, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 71.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3478, allocations: 65.48 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0149/0.3627, allocations: 12.34 MB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008992/0.3717, allocations: 3.913 MB / 0.5729 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.374, allocations: 67.75 kB / 0.573 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.3773, allocations: 1.343 MB / 0.5743 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.3827, allocations: 1.771 MB / 0.576 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.384, allocations: 423.2 kB / 0.5764 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006074/0.39, allocations: 3.603 MB / 0.5799 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.3931, allocations: 1.825 MB / 0.5817 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.3958, allocations: 1.218 MB / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.3999, allocations: 1.923 MB / 0.5848 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.401, allocations: 240 kB / 0.585 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.4035, allocations: 0.8386 MB / 0.5858 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.4054, allocations: 1.601 MB / 0.5874 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.4079, allocations: 1.875 MB / 0.5892 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008452/0.4163, allocations: 6.097 MB / 0.5952 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4163, allocations: 0 / 0.5952 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.4163, allocations: 3.984 kB / 0.5952 GB, free: 0.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002009/0.4165, allocations: 0 / 0.5952 GB, free: 0.543 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.009413/0.4259, allocations: 4.08 MB / 0.5992 GB, free: 12.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.426, allocations: 8.031 kB / 0.5992 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001366/0.4274, allocations: 0.704 MB / 0.5999 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.4383, allocations: 3.106 MB / 0.6029 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005711/0.444, allocations: 2.064 MB / 0.6049 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.4442, allocations: 196.8 kB / 0.6051 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008776/0.4451, allocations: 239.8 kB / 0.6053 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.4654, allocations: 10.18 MB / 0.6153 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.592e-05/0.4655, allocations: 23.81 kB / 0.6153 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.4659, allocations: 119.8 kB / 0.6154 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004304/0.4702, allocations: 2.463 MB / 0.6178 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.4914, allocations: 9.36 MB / 0.627 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05373/0.5451, allocations: 31.41 MB / 0.6576 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.5513, allocations: 2.344 MB / 0.6599 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.553, allocations: 0.9899 MB / 0.6609 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.554, allocations: 446.5 kB / 0.6613 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.554, allocations: 43.88 kB / 0.6613 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 3.606e-06/0.554, allocations: 0 / 0.6613 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02054/0.5746, allocations: 8.947 MB / 0.6701 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.5746, allocations: 64.72 kB / 0.6701 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/0.5789, allocations: 2.619 MB / 0.6727 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.5791, allocations: 45.7 kB / 0.6727 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002447/0.5815, allocations: 2.78 MB / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.5826, allocations: 0.7325 MB / 0.6762 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.5839, allocations: 0.9691 MB / 0.6771 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5841, allocations: 305.1 kB / 0.6774 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.5866, allocations: 1.548 MB / 0.6789 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/0.5918, allocations: 4.371 MB / 0.6832 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.6018, allocations: 6.559 MB / 0.6896 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.102e-05/0.6019, allocations: 28 kB / 0.6896 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01088/0.6128, allocations: 5.848 MB / 0.6953 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.6129, allocations: 48 kB / 0.6954 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/0.613, allocations: 100 kB / 0.6955 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004634/0.6135, allocations: 172.8 kB / 0.6956 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.6166, allocations: 1.061 MB / 0.6967 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.6188, allocations: 1.693 MB / 0.6983 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.6213, allocations: 207.9 kB / 0.6985 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004701/0.6217, allocations: 300 kB / 0.6988 GB, free: 1.941 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (592): * Single equations (assignments): 585 * 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.003478/0.6252, allocations: 1.991 MB / 0.7008 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/0.6256, allocations: 262.2 kB / 0.701 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.63, allocations: 2.537 MB / 0.7035 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/0.63, allocations: 20 kB / 0.7035 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.63, allocations: 0 / 0.7035 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.63, allocations: 3.984 kB / 0.7035 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.6458, allocations: 7.918 MB / 0.7112 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.6458, allocations: 12 kB / 0.7113 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.6469, allocations: 247.6 kB / 0.7115 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.6471, allocations: 56.83 kB / 0.7115 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.6472, allocations: 36.59 kB / 0.7116 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.6491, allocations: 1.533 MB / 0.7131 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.6491, allocations: 15.94 kB / 0.7131 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006694/0.6558, allocations: 4.028 MB / 0.717 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008071/0.6566, allocations: 238.2 kB / 0.7173 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.6569, allocations: 35.98 kB / 0.7173 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.6576, allocations: 55.95 kB / 0.7173 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.6578, allocations: 132.5 kB / 0.7175 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.6579, allocations: 63.91 kB / 0.7175 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00266/0.6606, allocations: 1.607 MB / 0.7191 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6606, allocations: 0 / 0.7191 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003797/0.6644, allocations: 0.7695 MB / 0.7198 GB, free: 11.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.006657/0.6711, allocations: 4.711 MB / 0.7244 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006685/0.6777, allocations: 3.715 MB / 0.7281 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.6778, allocations: 0 / 0.7281 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.6796, allocations: 1.171 MB / 0.7292 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.6816, allocations: 340.4 kB / 0.7295 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2909/0.9726, allocations: 33.45 MB / 0.7622 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/0.9753, allocations: 3.136 MB / 0.7653 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003008/0.9783, allocations: 1.706 MB / 0.7669 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/0.98, allocations: 1.69 MB / 0.7686 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.555e-06/0.9801, allocations: 0 / 0.7686 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08923/1.069, allocations: 49.98 MB / 0.8174 GB, free: 80.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.62/19.69, allocations: 0 / 0.8174 GB, free: 80.2 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 23.18028274201788]