Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001891/0.001891, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.002212/0.002212, allocations: 215.5 kB / 20.75 MB, free: 2.328 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.572/1.572, allocations: 230.4 MB / 254 MB, free: 15.02 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.2441/0.2441, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 83.88 kB / 0.491 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1544, allocations: 66.05 MB / 0.5555 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01128/0.1656, allocations: 8.687 MB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008147/0.1738, allocations: 3.482 MB / 0.5674 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.1752, allocations: 55.75 kB / 0.5674 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.1781, allocations: 1.386 MB / 0.5688 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.181, allocations: 0.9222 MB / 0.5697 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1825, allocations: 0.5186 MB / 0.5702 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.1857, allocations: 1.722 MB / 0.5719 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.1879, allocations: 1.386 MB / 0.5732 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.1895, allocations: 0.6737 MB / 0.5739 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.1914, allocations: 0.9424 MB / 0.5748 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.192, allocations: 140 kB / 0.5749 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.1936, allocations: 0.589 MB / 0.5755 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.1947, allocations: 0.748 MB / 0.5762 GB, free: 184 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.1963, allocations: 0.8276 MB / 0.577 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.2006, allocations: 2.483 MB / 0.5795 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2006, allocations: 0 / 0.5795 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2006, allocations: 0 / 0.5795 GB, free: 12.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.2007, allocations: 4 kB / 0.5795 GB, free: 12.85 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.00566/0.2063, allocations: 2.054 MB / 0.5815 GB, free: 10.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.2064, allocations: 12.03 kB / 0.5815 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004014/0.2068, allocations: 245.5 kB / 0.5817 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.2082, allocations: 287.5 kB / 0.582 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.2111, allocations: 1.302 MB / 0.5833 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.2112, allocations: 94.39 kB / 0.5833 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.2114, allocations: 128 kB / 0.5835 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/0.2177, allocations: 2.996 MB / 0.5864 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/0.2177, allocations: 11.89 kB / 0.5864 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.2179, allocations: 59.91 kB / 0.5865 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007288/0.2186, allocations: 438 kB / 0.5869 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005072/0.2237, allocations: 2.183 MB / 0.589 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3423/0.566, allocations: 10.7 MB / 0.5995 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.5704, allocations: 1.194 MB / 0.6006 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.571, allocations: 376.8 kB / 0.601 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00415/0.5751, allocations: 3.09 MB / 0.604 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.5752, allocations: 42.19 kB / 0.604 GB, free: 26.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.685e-06/0.5752, allocations: 0 / 0.604 GB, free: 26.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.013/0.5882, allocations: 3.814 MB / 0.6078 GB, free: 24.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.5882, allocations: 84.28 kB / 0.6078 GB, free: 24.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.5899, allocations: 1.197 MB / 0.609 GB, free: 24.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.59, allocations: 37.19 kB / 0.6091 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.5905, allocations: 0.9647 MB / 0.61 GB, free: 23.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.5907, allocations: 227.8 kB / 0.6102 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.591, allocations: 313 kB / 0.6105 GB, free: 23.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.5911, allocations: 303.2 kB / 0.6108 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/0.5917, allocations: 412.4 kB / 0.6112 GB, free: 23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009452/0.5927, allocations: 1.25 MB / 0.6124 GB, free: 21.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.5944, allocations: 1.804 MB / 0.6142 GB, free: 20.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.5944, allocations: 8.594 kB / 0.6142 GB, free: 20.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002687/0.5971, allocations: 1.714 MB / 0.6159 GB, free: 19.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5971, allocations: 17.47 kB / 0.6159 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/0.5972, allocations: 31.02 kB / 0.6159 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.5974, allocations: 90.83 kB / 0.616 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.5985, allocations: 360.6 kB / 0.6163 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.5998, allocations: 1.874 MB / 0.6182 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/0.6007, allocations: 66.11 kB / 0.6182 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.6008, allocations: 85.58 kB / 0.6183 GB, free: 17.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (190): * Single equations (assignments): 189 * Array equations: 0 * 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.0008586/0.6017, allocations: 0.6435 MB / 0.6189 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.6018, allocations: 124.6 kB / 0.6191 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.6021, allocations: 138.4 kB / 0.6192 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6021, allocations: 5.969 kB / 0.6192 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.6021, allocations: 1.125 kB / 0.6192 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.6021, allocations: 2.812 kB / 0.6192 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.6056, allocations: 2.231 MB / 0.6214 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.6056, allocations: 2.875 kB / 0.6214 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.606, allocations: 99.75 kB / 0.6215 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.6062, allocations: 73.94 kB / 0.6215 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.6062, allocations: 18.47 kB / 0.6216 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.6074, allocations: 1.939 MB / 0.6235 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6074, allocations: 9.344 kB / 0.6235 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.6088, allocations: 1.115 MB / 0.6246 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.609, allocations: 191.8 kB / 0.6247 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.6091, allocations: 16.66 kB / 0.6248 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.6095, allocations: 23.73 kB / 0.6248 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.6096, allocations: 50.09 kB / 0.6248 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.6096, allocations: 19.75 kB / 0.6248 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008804/0.6105, allocations: 0.7602 MB / 0.6256 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6105, allocations: 0 / 0.6256 GB, free: 13.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001454/0.6119, allocations: 290.7 kB / 0.6259 GB, free: 13.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/0.6135, allocations: 1.686 MB / 0.6275 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.6152, allocations: 1.071 MB / 0.6286 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6152, allocations: 0.625 kB / 0.6286 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.6156, allocations: 395 kB / 0.6289 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.6166, allocations: 190.9 kB / 0.6291 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.6302, allocations: 11.49 MB / 0.6403 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.632, allocations: 1.447 MB / 0.6417 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.633, allocations: 413.5 kB / 0.6421 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008216/0.6339, allocations: 0.5735 MB / 0.6427 GB, free: 13.61 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6339, allocations: 4 kB / 0.6427 GB, free: 13.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06645/0.7003, allocations: 23.15 MB / 0.6653 GB, free: 6.645 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.87, allocations: 7.859 kB / 0.6653 GB, free: 6.637 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 16.193543469998986]