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.001101/0.001101, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001222/0.001222, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9022/0.9022, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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.2599/0.2599, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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 2.044e-06/2.044e-06, allocations: 0 / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.509e-05, allocations: 5.094 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2176/0.2177, allocations: 7.637 MB / 449.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.2233, allocations: 3.294 MB / 453.1 MB, free: 38.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.2246, allocations: 53.03 kB / 453.2 MB, free: 38.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2263, allocations: 1.391 MB / 454.5 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.2287, allocations: 0.9689 MB / 455.5 MB, free: 37.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.2297, allocations: 0.5544 MB / 456.1 MB, free: 36.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.2314, allocations: 2.057 MB / 458.1 MB, free: 36.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.2328, allocations: 1.51 MB / 459.6 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.234, allocations: 1.023 MB / 460.7 MB, free: 35.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/0.2348, allocations: 0.9901 MB / 461.6 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.235, allocations: 141.8 kB / 461.8 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006755/0.2356, allocations: 0.5565 MB / 462.3 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000393/0.236, allocations: 0.7931 MB / 463.1 MB, free: 34.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003528/0.2364, allocations: 0.5351 MB / 463.7 MB, free: 34.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.238, allocations: 2.563 MB / 466.2 MB, free: 33.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.238, allocations: 3.375 kB / 466.2 MB, free: 33.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.238, allocations: 3.125 kB / 466.2 MB, free: 33.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.2381, allocations: 0 / 466.2 MB, free: 33.21 MB / 410.7 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.002269/0.2403, allocations: 2.015 MB / 468.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.2404, allocations: 9.188 kB / 468.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.2406, allocations: 246.2 kB / 468.5 MB, free: 31.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006856/0.2413, allocations: 310.7 kB / 468.8 MB, free: 31.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2424, allocations: 1.065 MB / 469.9 MB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.2424, allocations: 100.2 kB / 470 MB, free: 31.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2425, allocations: 125.9 kB / 470.1 MB, free: 31.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/0.2455, allocations: 3.049 MB / 473.1 MB, free: 29.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.2455, allocations: 18.38 kB / 473.2 MB, free: 29.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.2456, allocations: 55.73 kB / 473.2 MB, free: 29.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003511/0.246, allocations: 431 kB / 473.6 MB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.2486, allocations: 2.168 MB / 475.8 MB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008026/0.2566, allocations: 10.36 MB / 486.2 MB, free: 21.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.2592, allocations: 1.276 MB / 487.4 MB, free: 21.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.2597, allocations: 373.5 kB / 487.8 MB, free: 21.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00278/0.2625, allocations: 2.071 MB / 489.9 MB, free: 20.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2625, allocations: 41.38 kB / 489.9 MB, free: 20.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 3.296e-06/0.2625, allocations: 1.156 kB / 489.9 MB, free: 20.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.007985/0.2705, allocations: 3.808 MB / 493.7 MB, free: 19.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.2706, allocations: 88.97 kB / 493.8 MB, free: 19.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.272, allocations: 1.399 MB / 495.2 MB, free: 18.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2721, allocations: 32.36 kB / 495.2 MB, free: 18.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.2725, allocations: 0.961 MB / 496.2 MB, free: 17.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2726, allocations: 230.2 kB / 496.4 MB, free: 17.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.2728, allocations: 310 kB / 496.7 MB, free: 17.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.817e-05/0.2728, allocations: 303.1 kB / 497 MB, free: 17.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.2733, allocations: 412.1 kB / 497.4 MB, free: 16.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/0.2741, allocations: 1.277 MB / 498.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.2753, allocations: 1.806 MB / 0.4888 GB, free: 14.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.2753, allocations: 9.125 kB / 0.4888 GB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001957/0.2773, allocations: 1.72 MB / 0.4905 GB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.2773, allocations: 17.59 kB / 0.4905 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.2773, allocations: 33 kB / 0.4905 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.2775, allocations: 87.86 kB / 0.4906 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.2782, allocations: 359.8 kB / 0.4909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009779/0.2791, allocations: 1.76 MB / 0.4927 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.2799, allocations: 104.4 kB / 0.4928 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.28, allocations: 85.84 kB / 0.4928 GB, free: 11.77 MB / 410.7 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.0008009/0.2808, allocations: 0.6381 MB / 0.4935 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2809, allocations: 121.2 kB / 0.4936 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.281, allocations: 136.5 kB / 0.4937 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.281, allocations: 6.906 kB / 0.4937 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.2811, allocations: 2.078 kB / 0.4937 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2811, allocations: 2.719 kB / 0.4937 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.2837, allocations: 2.169 MB / 0.4958 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.2837, allocations: 8.094 kB / 0.4959 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.2839, allocations: 96.16 kB / 0.4959 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/0.284, allocations: 66.95 kB / 0.496 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.284, allocations: 14.69 kB / 0.496 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.2851, allocations: 1.831 MB / 0.4978 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2851, allocations: 13.34 kB / 0.4978 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2862, allocations: 1.11 MB / 0.4989 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.2864, allocations: 127 kB / 0.499 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.2865, allocations: 14.25 kB / 0.499 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.2867, allocations: 47.28 kB / 0.4991 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.2868, allocations: 53.19 kB / 0.4991 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2868, allocations: 19.39 kB / 0.4992 GB, free: 7.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008954/0.2877, allocations: 0.8848 MB / 0.5 GB, free: 7.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2877, allocations: 0 / 0.5 GB, free: 7.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001324/0.2891, allocations: 350.4 kB / 0.5004 GB, free: 7.512 MB / 410.7 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.001204/0.2903, allocations: 1.688 MB / 0.502 GB, free: 6.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.2915, allocations: 1.072 MB / 0.503 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2915, allocations: 0 / 0.503 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.2918, allocations: 385.2 kB / 0.5034 GB, free: 4.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.2924, allocations: 180.7 kB / 0.5036 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.3039, allocations: 11.94 MB / 0.5152 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.3046, allocations: 0.8591 MB / 0.5161 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006983/0.3053, allocations: 421.5 kB / 0.5165 GB, free: 7.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.3058, allocations: 0.5823 MB / 0.5171 GB, free: 6.461 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3058, allocations: 0 / 0.5171 GB, free: 6.461 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04611/0.3519, allocations: 25.22 MB / 0.5417 GB, free: 13.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.041, allocations: 4 kB / 0.5417 GB, free: 13.57 MB / 458.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/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: 10.25090919714421]