Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 109.6 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2513/0.2513, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1641, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01706/0.1813, allocations: 12.65 MB / 0.5002 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.193, allocations: 3.887 MB / 0.504 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.1963, allocations: 63.88 kB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.2001, allocations: 1.327 MB / 0.5054 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006533/0.2067, allocations: 1.829 MB / 0.5072 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.2084, allocations: 435.2 kB / 0.5076 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007196/0.2156, allocations: 3.661 MB / 0.5112 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004043/0.2197, allocations: 2.04 MB / 0.5132 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.223, allocations: 1.238 MB / 0.5144 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.2267, allocations: 1.779 MB / 0.5161 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.228, allocations: 244 kB / 0.5163 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.2312, allocations: 0.823 MB / 0.5172 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003439/0.2347, allocations: 1.628 MB / 0.5187 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005849/0.2406, allocations: 1.929 MB / 0.5206 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009888/0.2505, allocations: 6.262 MB / 0.5267 GB, free: 3.836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.2506, allocations: 0 / 0.5267 GB, free: 3.836 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2506, allocations: 0 / 0.5267 GB, free: 3.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003563/0.251, allocations: 0 / 0.5267 GB, free: 3.836 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.3367/0.5877, allocations: 4.143 MB / 0.5308 GB, free: 37.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5878, allocations: 13.3 kB / 0.5308 GB, free: 37.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.5995, allocations: 3.072 MB / 0.5338 GB, free: 37.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006061/0.6056, allocations: 1.991 MB / 0.5357 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.606, allocations: 192.8 kB / 0.5359 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.6076, allocations: 252 kB / 0.5362 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02347/0.6311, allocations: 10.4 MB / 0.5463 GB, free: 33.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.893e-05/0.6313, allocations: 24.17 kB / 0.5463 GB, free: 33.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/0.6317, allocations: 127.4 kB / 0.5465 GB, free: 33.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005215/0.6369, allocations: 2.558 MB / 0.549 GB, free: 32.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.6561, allocations: 9.463 MB / 0.5582 GB, free: 26.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04617/0.7023, allocations: 32.25 MB / 0.5897 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006108/0.7084, allocations: 3.37 MB / 0.593 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.7101, allocations: 1.081 MB / 0.594 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.7114, allocations: 1.304 MB / 0.5953 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.7115, allocations: 47.88 kB / 0.5954 GB, free: 3.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.861e-06/0.7115, allocations: 0 / 0.5954 GB, free: 3.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02137/0.7328, allocations: 9.785 MB / 0.6049 GB, free: 9.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.733, allocations: 90.42 kB / 0.605 GB, free: 9.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/0.7369, allocations: 2.66 MB / 0.6076 GB, free: 6.523 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/0.737, allocations: 49.69 kB / 0.6076 GB, free: 6.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.7389, allocations: 2.747 MB / 0.6103 GB, free: 3.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006412/0.7396, allocations: 0.7093 MB / 0.611 GB, free: 2.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.7408, allocations: 0.9806 MB / 0.612 GB, free: 1.969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7409, allocations: 305.1 kB / 0.6123 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.7431, allocations: 1.567 MB / 0.6138 GB, free: 96 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004671/0.7477, allocations: 4.477 MB / 0.6182 GB, free: 10.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008291/0.756, allocations: 6.696 MB / 0.6247 GB, free: 2.039 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-05/0.7561, allocations: 31.94 kB / 0.6247 GB, free: 2.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009688/0.7658, allocations: 5.956 MB / 0.6306 GB, free: 12.03 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.766, allocations: 58.98 kB / 0.6306 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.7661, allocations: 100.8 kB / 0.6307 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.7665, allocations: 180.9 kB / 0.6309 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/0.7697, allocations: 1.092 MB / 0.6319 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.7714, allocations: 1.802 MB / 0.6337 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/0.7746, allocations: 211.9 kB / 0.6339 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004346/0.775, allocations: 307.9 kB / 0.6342 GB, free: 8.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (609): * Single equations (assignments): 602 * 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.003806/0.7788, allocations: 2.032 MB / 0.6362 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/0.7794, allocations: 248.7 kB / 0.6364 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/0.7834, allocations: 2.538 MB / 0.6389 GB, free: 3.305 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/0.7834, allocations: 20 kB / 0.6389 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.7835, allocations: 11.94 kB / 0.6389 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.7835, allocations: 7.969 kB / 0.6389 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.7968, allocations: 8.145 MB / 0.6469 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.7968, allocations: 12 kB / 0.6469 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.7978, allocations: 247.6 kB / 0.6471 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.798, allocations: 61.08 kB / 0.6472 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.7981, allocations: 48.55 kB / 0.6472 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.7997, allocations: 1.625 MB / 0.6488 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.7997, allocations: 15.94 kB / 0.6489 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.8053, allocations: 4.051 MB / 0.6528 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.8068, allocations: 0.5016 MB / 0.6533 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.807, allocations: 36 kB / 0.6533 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.8078, allocations: 55.95 kB / 0.6534 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.8081, allocations: 120.7 kB / 0.6535 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.8082, allocations: 67.97 kB / 0.6536 GB, free: 3.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002588/0.8108, allocations: 1.64 MB / 0.6552 GB, free: 2.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8108, allocations: 0 / 0.6552 GB, free: 2.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004019/0.8148, allocations: 0.8177 MB / 0.656 GB, free: 1.316 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.0004953/0.8153, allocations: 177.6 kB / 0.6561 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00803/0.8234, allocations: 3.933 MB / 0.66 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.06e-05/0.8235, allocations: 4.375 kB / 0.66 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.8256, allocations: 1.243 MB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.8283, allocations: 348.1 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/0.8474, allocations: 8.614 MB / 0.6699 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004008/0.8515, allocations: 3.187 MB / 0.673 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00398/0.8555, allocations: 1.734 MB / 0.6747 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.856, allocations: 195.4 kB / 0.6749 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of SimCode: time 2.335e-06/0.856, allocations: 0 / 0.6749 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.05127/0.9073, allocations: 21.12 MB / 0.6956 GB, free: 8.609 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches