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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.001771, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002055, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 72.91 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1751, allocations: 62.46 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01007/0.1852, allocations: 8.63 MB / 488.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007523/0.1928, allocations: 3.475 MB / 492.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.1944, allocations: 43.88 kB / 492.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.1969, allocations: 1.363 MB / 493.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.1994, allocations: 0.9139 MB / 494.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2004, allocations: 0.5069 MB / 495 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.2027, allocations: 1.734 MB / 496.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.2045, allocations: 1.647 MB / 498.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009499/0.2054, allocations: 0.6659 MB / 499 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.2065, allocations: 0.8879 MB / 499.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.2067, allocations: 136 kB / 0.4883 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.2078, allocations: 0.5695 MB / 0.4889 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006621/0.2085, allocations: 0.717 MB / 0.4896 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008374/0.2094, allocations: 0.8314 MB / 0.4904 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.212, allocations: 2.414 MB / 0.4927 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.212, allocations: 0 / 0.4927 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.212, allocations: 0 / 0.4927 GB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.212, allocations: 0 / 0.4927 GB, free: 12.62 MB / 382.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.00364/0.2157, allocations: 1.99 MB / 0.4947 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.2157, allocations: 12.03 kB / 0.4947 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.2169, allocations: 262.5 kB / 0.4949 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.2186, allocations: 1.044 MB / 0.496 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/0.2187, allocations: 94.58 kB / 0.496 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.2189, allocations: 128 kB / 0.4962 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005156/0.224, allocations: 2.996 MB / 0.4991 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.2241, allocations: 19.84 kB / 0.4991 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.2242, allocations: 51.97 kB / 0.4992 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006248/0.2248, allocations: 438 kB / 0.4996 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.2294, allocations: 2.171 MB / 0.5017 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3315/0.561, allocations: 10.73 MB / 0.5122 GB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/0.5655, allocations: 1.251 MB / 0.5134 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.5661, allocations: 412.3 kB / 0.5138 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004695/0.5708, allocations: 3.08 MB / 0.5168 GB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.5709, allocations: 39.39 kB / 0.5168 GB, free: 32.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 4.399e-06/0.5709, allocations: 0 / 0.5168 GB, free: 32.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01312/0.584, allocations: 3.787 MB / 0.5205 GB, free: 30.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.5841, allocations: 83.45 kB / 0.5206 GB, free: 30.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.5861, allocations: 1.187 MB / 0.5218 GB, free: 30.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.5861, allocations: 36.69 kB / 0.5218 GB, free: 30.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.5867, allocations: 0.9384 MB / 0.5227 GB, free: 29.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.5869, allocations: 212.5 kB / 0.5229 GB, free: 29.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.5873, allocations: 315.2 kB / 0.5232 GB, free: 29.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.5874, allocations: 306.8 kB / 0.5235 GB, free: 28.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.5881, allocations: 422.9 kB / 0.5239 GB, free: 28.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.5893, allocations: 1.256 MB / 0.5251 GB, free: 27.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.5913, allocations: 1.822 MB / 0.5269 GB, free: 25.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/0.5914, allocations: 8.75 kB / 0.5269 GB, free: 25.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003149/0.5945, allocations: 1.733 MB / 0.5286 GB, free: 25.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.5946, allocations: 17.19 kB / 0.5286 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.743e-05/0.5946, allocations: 28.88 kB / 0.5287 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.5949, allocations: 85.17 kB / 0.5288 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.596, allocations: 368.1 kB / 0.5291 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.5974, allocations: 1.878 MB / 0.5309 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.5985, allocations: 70.52 kB / 0.531 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.5987, allocations: 84.88 kB / 0.5311 GB, free: 23.43 MB / 382.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 (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.000963/0.5996, allocations: 0.6466 MB / 0.5317 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.5998, allocations: 111.3 kB / 0.5318 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.6, allocations: 136.5 kB / 0.532 GB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.6, allocations: 6.438 kB / 0.532 GB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.6, allocations: 1.312 kB / 0.532 GB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.6001, allocations: 7.922 kB / 0.532 GB, free: 22.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6033, allocations: 2.235 MB / 0.5342 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6033, allocations: 4.406 kB / 0.5342 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.6036, allocations: 101 kB / 0.5343 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.6038, allocations: 63.97 kB / 0.5343 GB, free: 21.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.6039, allocations: 20.5 kB / 0.5343 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.6051, allocations: 1.951 MB / 0.5362 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.6051, allocations: 7.812 kB / 0.5362 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.6064, allocations: 1.11 MB / 0.5373 GB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.6066, allocations: 189 kB / 0.5375 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.6067, allocations: 19.45 kB / 0.5375 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.607, allocations: 23.89 kB / 0.5376 GB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.6071, allocations: 47.45 kB / 0.5376 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.6071, allocations: 19.75 kB / 0.5376 GB, free: 18.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008282/0.6079, allocations: 0.7578 MB / 0.5384 GB, free: 18.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.608, allocations: 0 / 0.5384 GB, free: 18.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001482/0.6094, allocations: 296.2 kB / 0.5386 GB, free: 18.11 MB / 382.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.0002296/0.6097, allocations: 126.1 kB / 0.5388 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.6115, allocations: 1.214 MB / 0.5399 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6115, allocations: 0 / 0.5399 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.6119, allocations: 410.3 kB / 0.5403 GB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/0.6128, allocations: 184.3 kB / 0.5405 GB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.6165, allocations: 2.844 MB / 0.5433 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.6174, allocations: 1.447 MB / 0.5447 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009016/0.6183, allocations: 409.6 kB / 0.5451 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.6184, allocations: 79.44 kB / 0.5452 GB, free: 11.72 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6184, allocations: 0 / 0.5452 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Templates: time 0.01716/0.6356, allocations: 10.36 MB / 0.5553 GB, free: 1.457 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches