Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001498/0.001498, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 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.001641/0.001641, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 63.83 kB / 378.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2478, allocations: 53.41 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01426/0.262, allocations: 11.68 MB / 443.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009711/0.2718, allocations: 4.639 MB / 448.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.2737, allocations: 103.5 kB / 448.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007478/0.2812, allocations: 4.054 MB / 452.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005619/0.2868, allocations: 2.187 MB / 454.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.2894, allocations: 1.111 MB / 455.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008207/0.2976, allocations: 6.063 MB / 461.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00512/0.3027, allocations: 4.069 MB / 465.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.3059, allocations: 2.185 MB / 468 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004123/0.31, allocations: 3.085 MB / 471.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008553/0.3108, allocations: 0.4922 MB / 471.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.3135, allocations: 1.537 MB / 473.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002506/0.316, allocations: 2.657 MB / 475.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.3186, allocations: 2.23 MB / 478 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.3286, allocations: 9.699 MB / 487.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3287, allocations: 0 / 487.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3287, allocations: 0 / 487.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.3288, allocations: 0 / 487.7 MB, free: 14.45 MB / 398.1 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.01268/0.3415, allocations: 6.272 MB / 494 MB, free: 8.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3416, allocations: 8.031 kB / 494 MB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001707/0.3417, allocations: 151.3 kB / 494.1 MB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/0.3431, allocations: 0.9365 MB / 495.1 MB, free: 7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03687/0.38, allocations: 6.059 MB / 0.4894 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009368/0.3893, allocations: 4.199 MB / 0.4935 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.3896, allocations: 307.9 kB / 0.4938 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.3907, allocations: 439.8 kB / 0.4942 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02205/0.4127, allocations: 12.41 MB / 0.5063 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.4129, allocations: 55.59 kB / 0.5064 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005373/0.4134, allocations: 187.9 kB / 0.5065 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003246/0.4167, allocations: 2.035 MB / 0.5085 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.4377, allocations: 10.39 MB / 0.5187 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2519/0.6896, allocations: 41.64 MB / 0.5593 GB, free: 71.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.7007, allocations: 4.286 MB / 0.5635 GB, free: 70.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.7027, allocations: 1.84 MB / 0.5653 GB, free: 69.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008474/0.7112, allocations: 5.645 MB / 0.5708 GB, free: 67.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.7112, allocations: 51.16 kB / 0.5709 GB, free: 67.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 4.84e-06/0.7112, allocations: 0 / 0.5709 GB, free: 67.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=225): time 0.05519/0.7664, allocations: 19.23 MB / 0.5897 GB, free: 49.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.7665, allocations: 205.9 kB / 0.5899 GB, free: 49.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.7709, allocations: 4.489 MB / 0.5942 GB, free: 44.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002952/0.7712, allocations: 57.7 kB / 0.5943 GB, free: 44.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.7726, allocations: 3.692 MB / 0.5979 GB, free: 41.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005791/0.7732, allocations: 0.8928 MB / 0.5988 GB, free: 40.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.7744, allocations: 1.275 MB / 0.6 GB, free: 39.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.7745, allocations: 308 kB / 0.6003 GB, free: 38.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.777, allocations: 2.237 MB / 0.6025 GB, free: 36.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003667/0.7807, allocations: 6.035 MB / 0.6084 GB, free: 28.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007403/0.7881, allocations: 8.924 MB / 0.6171 GB, free: 17.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.7882, allocations: 39.94 kB / 0.6171 GB, free: 17.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01451/0.8027, allocations: 9.053 MB / 0.626 GB, free: 8.828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.76e-05/0.8028, allocations: 60 kB / 0.626 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/0.803, allocations: 132 kB / 0.6262 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/0.8063, allocations: 1.207 MB / 0.6273 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.8103, allocations: 1.415 MB / 0.6287 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009716/0.82, allocations: 7.814 MB / 0.6364 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004787/0.8248, allocations: 347.6 kB / 0.6367 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.8259, allocations: 379.8 kB / 0.637 GB, free: 13.38 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (768): * Single equations (assignments): 764 * Array equations: 3 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004464/0.8303, allocations: 2.489 MB / 0.6395 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/0.8315, allocations: 433.1 kB / 0.6399 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008357/0.8398, allocations: 3.873 MB / 0.6437 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/0.8399, allocations: 24 kB / 0.6437 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.8399, allocations: 8 kB / 0.6437 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/0.8399, allocations: 19.88 kB / 0.6437 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.8605, allocations: 9.559 MB / 0.6531 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/0.8605, allocations: 4 kB / 0.6531 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.8621, allocations: 335.5 kB / 0.6534 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003467/0.8655, allocations: 0.988 MB / 0.6543 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/0.8658, allocations: 43.98 kB / 0.6544 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.8761, allocations: 6.509 MB / 0.6607 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/0.8762, allocations: 11.94 kB / 0.6608 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/0.8882, allocations: 6.647 MB / 0.6672 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.8895, allocations: 401 kB / 0.6676 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006511/0.8901, allocations: 43.98 kB / 0.6677 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.8918, allocations: 108.9 kB / 0.6678 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/0.8922, allocations: 148.9 kB / 0.6679 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.8924, allocations: 71.59 kB / 0.668 GB, free: 13.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004658/0.897, allocations: 2.824 MB / 0.6707 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.897, allocations: 3.938 kB / 0.6707 GB, free: 10.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005712/0.9028, allocations: 1.168 MB / 0.6719 GB, free: 9.379 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (175): * Single equations (assignments): 171 * Array equations: 3 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0129/0.9157, allocations: 7.342 MB / 0.6791 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009568/0.9252, allocations: 5.331 MB / 0.6843 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.9252, allocations: 0 / 0.6843 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/0.9281, allocations: 1.707 MB / 0.6859 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/0.9316, allocations: 0.5582 MB / 0.6865 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08432/1.016, allocations: 51.6 MB / 0.7369 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2158/1.232, allocations: 3.349 MB / 0.7401 GB, free: 197.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005878/1.238, allocations: 1.945 MB / 0.742 GB, free: 197.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/1.24, allocations: 2.31 MB / 0.7443 GB, free: 196.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.24, allocations: 1.062 kB / 0.7443 GB, free: 196.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/1.355, allocations: 87.42 MB / 0.8297 GB, free: 119.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.65/24.01, allocations: 7.188 kB / 0.8297 GB, free: 119.6 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 28.14193541102577]