Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002182/0.002182, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 102.6 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005192, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3338, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.5017, allocations: 103.5 MB / 478 MB, free: 9.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.502, allocations: 95.95 kB / 478.1 MB, free: 9.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6946/1.197, allocations: 111.2 MB / 0.5755 GB, free: 40.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.197, allocations: 0 / 0.5755 GB, free: 40.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003693/1.197, allocations: 104 kB / 0.5756 GB, free: 39.95 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.02205/1.219, allocations: 5.379 MB / 0.5808 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/1.219, allocations: 19.91 kB / 0.5809 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06304/1.282, allocations: 6.892 MB / 0.5876 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02352/1.306, allocations: 6.804 MB / 0.5942 GB, free: 20.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004906/1.306, allocations: 386.3 kB / 0.5946 GB, free: 20.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002556/1.309, allocations: 0.5114 MB / 0.5951 GB, free: 19.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03838/1.347, allocations: 12.66 MB / 0.6075 GB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003542/1.348, allocations: 59.45 kB / 0.6075 GB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/1.35, allocations: 247.9 kB / 0.6078 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002153/1.352, allocations: 1.047 MB / 0.6088 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03526/1.388, allocations: 10.53 MB / 0.6191 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3873/1.775, allocations: 50.22 MB / 0.6681 GB, free: 50.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/1.797, allocations: 4.807 MB / 0.6728 GB, free: 49.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01764/1.814, allocations: 7.043 MB / 0.6797 GB, free: 47.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.815, allocations: 52.91 kB / 0.6797 GB, free: 47.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 6.662e-06/1.815, allocations: 0 / 0.6797 GB, free: 47.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.1278/1.942, allocations: 20.34 MB / 0.6996 GB, free: 44.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/1.943, allocations: 204.9 kB / 0.6998 GB, free: 43.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/1.953, allocations: 3.949 MB / 0.7036 GB, free: 43.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005282/1.953, allocations: 56.98 kB / 0.7037 GB, free: 43.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003236/1.956, allocations: 3.453 MB / 0.7071 GB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.958, allocations: 0.8439 MB / 0.7079 GB, free: 41.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009969/1.959, allocations: 127.5 kB / 0.708 GB, free: 41.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005999/1.96, allocations: 0.5741 MB / 0.7086 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005815/1.965, allocations: 2.162 MB / 0.7107 GB, free: 40.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/1.974, allocations: 5.913 MB / 0.7165 GB, free: 34.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008484/1.982, allocations: 3.53 MB / 0.7199 GB, free: 33.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.983, allocations: 39.53 kB / 0.7199 GB, free: 33.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02664/2.009, allocations: 8.629 MB / 0.7284 GB, free: 30.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/2.01, allocations: 61.97 kB / 0.7284 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/2.01, allocations: 132.4 kB / 0.7286 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005884/2.016, allocations: 1.048 MB / 0.7296 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008715/2.024, allocations: 1.42 MB / 0.731 GB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/2.041, allocations: 7.142 MB / 0.7379 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007307/2.048, allocations: 331.3 kB / 0.7383 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/2.049, allocations: 379.3 kB / 0.7386 GB, free: 23.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 767 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006585/2.056, allocations: 2.496 MB / 0.7411 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/2.057, allocations: 410.6 kB / 0.7414 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/2.07, allocations: 3.648 MB / 0.745 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.407e-05/2.07, allocations: 31.8 kB / 0.745 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/2.07, allocations: 10.34 kB / 0.7451 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/2.07, allocations: 7.547 kB / 0.7451 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0317/2.102, allocations: 9.878 MB / 0.7547 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/2.102, allocations: 4.984 kB / 0.7547 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/2.105, allocations: 353.9 kB / 0.755 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005262/2.111, allocations: 0.8081 MB / 0.7558 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004603/2.111, allocations: 43.67 kB / 0.7559 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/2.125, allocations: 5.841 MB / 0.7616 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/2.125, allocations: 8 kB / 0.7616 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/2.143, allocations: 7.033 MB / 0.7685 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/2.146, allocations: 0.7178 MB / 0.7692 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/2.148, allocations: 43.5 kB / 0.7692 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003587/2.151, allocations: 99.42 kB / 0.7693 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007381/2.152, allocations: 146 kB / 0.7694 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/2.152, allocations: 64 kB / 0.7695 GB, free: 12.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008018/2.16, allocations: 2.785 MB / 0.7722 GB, free: 10.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.16, allocations: 0 / 0.7722 GB, free: 10.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008593/2.169, allocations: 1.178 MB / 0.7734 GB, free: 9.312 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.w) * 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 (176): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/2.17, allocations: 225.2 kB / 0.7736 GB, free: 9.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01476/2.185, allocations: 5.409 MB / 0.7789 GB, free: 4.324 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/2.185, allocations: 0 / 0.7789 GB, free: 4.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005238/2.19, allocations: 1.805 MB / 0.7806 GB, free: 2.547 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004748/2.195, allocations: 0.5169 MB / 0.7811 GB, free: 2.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03631/2.231, allocations: 13.54 MB / 0.7944 GB, free: 4.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/2.242, allocations: 3.994 MB / 0.7983 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/2.244, allocations: 319.4 kB / 0.7986 GB, free: 96 kB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/2.244, allocations: 0 / 0.7986 GB, free: 96 kB / 442.7 MB Notification: Performance of Templates: time 0.4791/2.723, allocations: 86.92 MB / 0.8834 GB, free: 95.93 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches