Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.0007116/0.0007116, allocations: 87.67 kB / 21.44 MB, free: 3.113 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.005428/0.005428, allocations: 152.5 kB / 24.69 MB, free: 9.426 MB / 18.57 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 0.8956/0.8956, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2329/0.2329, allocations: 32.79 MB / 294.2 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.605e-05, allocations: 2.281 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.1894/0.1895, allocations: 7.65 MB / 448.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.1943, allocations: 3.277 MB / 451.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.1955, allocations: 53.19 kB / 451.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.1969, allocations: 1.405 MB / 453.2 MB, free: 40.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.1986, allocations: 0.9623 MB / 454.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.1993, allocations: 0.556 MB / 454.8 MB, free: 39.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.201, allocations: 2.069 MB / 456.8 MB, free: 38.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.202, allocations: 1.5 MB / 458.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.203, allocations: 1.021 MB / 459.3 MB, free: 37.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008121/0.2038, allocations: 0.9919 MB / 460.3 MB, free: 37.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.2039, allocations: 146.7 kB / 460.5 MB, free: 37.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/0.2045, allocations: 0.5654 MB / 461 MB, free: 37.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.2049, allocations: 0.7862 MB / 461.8 MB, free: 37.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.2052, allocations: 0.5336 MB / 462.4 MB, free: 36.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.2068, allocations: 2.552 MB / 464.9 MB, free: 35.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2069, allocations: 0 / 464.9 MB, free: 35.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2069, allocations: 3.188 kB / 464.9 MB, free: 35.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.2069, allocations: 0 / 464.9 MB, free: 35.89 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.00211/0.209, allocations: 2.006 MB / 466.9 MB, free: 34.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.209, allocations: 14.06 kB / 466.9 MB, free: 34.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006126/0.2096, allocations: 293.6 kB / 467.2 MB, free: 34.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.2106, allocations: 0.9922 MB / 468.2 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.2107, allocations: 91.02 kB / 468.3 MB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.2108, allocations: 129.8 kB / 468.4 MB, free: 34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/0.2137, allocations: 3.055 MB / 471.5 MB, free: 32.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.2138, allocations: 14.48 kB / 471.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.2138, allocations: 59.56 kB / 471.6 MB, free: 32.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003077/0.2141, allocations: 429.1 kB / 472 MB, free: 32.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.2167, allocations: 2.182 MB / 474.2 MB, free: 31.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007019/0.2237, allocations: 9.977 MB / 484.1 MB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.2261, allocations: 1.278 MB / 485.4 MB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.2265, allocations: 374.1 kB / 485.8 MB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/0.2291, allocations: 2.068 MB / 487.9 MB, free: 23.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2291, allocations: 39.34 kB / 487.9 MB, free: 23.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 3.667e-06/0.2291, allocations: 0 / 487.9 MB, free: 23.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.007507/0.2366, allocations: 3.797 MB / 491.7 MB, free: 22.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2367, allocations: 83.61 kB / 491.8 MB, free: 22.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.2378, allocations: 1.233 MB / 493 MB, free: 21.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2379, allocations: 36.31 kB / 493 MB, free: 21.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.2383, allocations: 0.9614 MB / 494 MB, free: 20.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/0.2384, allocations: 230.8 kB / 494.2 MB, free: 20.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.2386, allocations: 313 kB / 494.5 MB, free: 20.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.2387, allocations: 355.3 kB / 494.9 MB, free: 20.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.2392, allocations: 423.2 kB / 495.3 MB, free: 20 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.2399, allocations: 1.281 MB / 496.6 MB, free: 18.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.2413, allocations: 1.824 MB / 498.4 MB, free: 17.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.2413, allocations: 10.94 kB / 498.4 MB, free: 17.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002251/0.2435, allocations: 1.734 MB / 0.4884 GB, free: 16.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.2436, allocations: 22.22 kB / 0.4884 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.2436, allocations: 29.69 kB / 0.4885 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.2438, allocations: 87.22 kB / 0.4886 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.2444, allocations: 358.1 kB / 0.4889 GB, free: 16.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000938/0.2454, allocations: 1.749 MB / 0.4906 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/0.2462, allocations: 104.6 kB / 0.4907 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.2463, allocations: 88.81 kB / 0.4908 GB, free: 14.8 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 (194): * Single equations (assignments): 193 * 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.0008361/0.2471, allocations: 0.6321 MB / 0.4914 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2472, allocations: 113.8 kB / 0.4915 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.2474, allocations: 130.4 kB / 0.4916 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2474, allocations: 9.094 kB / 0.4916 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.2474, allocations: 2.156 kB / 0.4916 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.2474, allocations: 7.234 kB / 0.4917 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.2497, allocations: 1.82 MB / 0.4934 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2497, allocations: 3.797 kB / 0.4934 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.25, allocations: 96.5 kB / 0.4935 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.2501, allocations: 63.52 kB / 0.4936 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.2501, allocations: 15.36 kB / 0.4936 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/0.251, allocations: 1.812 MB / 0.4954 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.251, allocations: 7.438 kB / 0.4954 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2521, allocations: 1.102 MB / 0.4965 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.2523, allocations: 117.5 kB / 0.4966 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.2524, allocations: 12.34 kB / 0.4966 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.2526, allocations: 44.66 kB / 0.4966 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.2527, allocations: 52.44 kB / 0.4967 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.2527, allocations: 20.12 kB / 0.4967 GB, free: 11.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008174/0.2535, allocations: 0.7556 MB / 0.4974 GB, free: 10.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2535, allocations: 1.031 kB / 0.4974 GB, free: 10.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001338/0.2549, allocations: 354.2 kB / 0.4978 GB, free: 10.78 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.0002473/0.2551, allocations: 137 kB / 0.4979 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.2564, allocations: 1.065 MB / 0.4989 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2564, allocations: 10.62 kB / 0.4989 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.2567, allocations: 403.6 kB / 0.4993 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.2573, allocations: 167.2 kB / 0.4995 GB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.2608, allocations: 2.946 MB / 0.5024 GB, free: 8.125 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.2615, allocations: 0.8536 MB / 0.5032 GB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.2617, allocations: 88.62 kB / 0.5033 GB, free: 7.391 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2617, allocations: 3.938 kB / 0.5033 GB, free: 7.387 MB / 410.7 MB Notification: Performance of Templates: time 0.02193/0.2836, allocations: 23.13 MB / 0.5259 GB, free: 0.9219 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.532058275304735]