Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001519/0.001519, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001659/0.001659, allocations: 218.7 kB / 24.52 MB, free: 3.91 MB / 14.72 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 1.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 39.94 kB / 378.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2409, allocations: 53.37 MB / 431.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0142/0.2551, allocations: 11.68 MB / 443.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.2654, allocations: 4.64 MB / 448.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.268, allocations: 107.4 kB / 448.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007835/0.2758, allocations: 4.054 MB / 452.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005794/0.2816, allocations: 2.183 MB / 454.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.2842, allocations: 1.123 MB / 455.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008985/0.2932, allocations: 6.052 MB / 461.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005593/0.2988, allocations: 4.069 MB / 465.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003909/0.3027, allocations: 2.193 MB / 468 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.3078, allocations: 3.081 MB / 471 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.3093, allocations: 500 kB / 471.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.3139, allocations: 1.533 MB / 473.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003911/0.3178, allocations: 2.653 MB / 475.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003637/0.3215, allocations: 2.234 MB / 478 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.3332, allocations: 9.699 MB / 487.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3332, allocations: 4 kB / 487.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3332, allocations: 0 / 487.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003117/0.3335, allocations: 0 / 487.7 MB, free: 14.66 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.01585/0.3494, allocations: 6.272 MB / 493.9 MB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.3494, allocations: 12.03 kB / 493.9 MB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001968/0.3496, allocations: 155.3 kB / 494.1 MB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002281/0.3519, allocations: 0.9288 MB / 495 MB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03626/0.3882, allocations: 6.055 MB / 0.4893 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009493/0.3977, allocations: 4.195 MB / 0.4934 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.398, allocations: 311.9 kB / 0.4937 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.3995, allocations: 439.7 kB / 0.4941 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/0.4231, allocations: 12.41 MB / 0.5063 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.4233, allocations: 55.53 kB / 0.5063 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005418/0.4238, allocations: 195.8 kB / 0.5065 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0032/0.427, allocations: 2.031 MB / 0.5085 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.4492, allocations: 10.38 MB / 0.5186 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2419/0.6911, allocations: 41.65 MB / 0.5593 GB, free: 71.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.7013, allocations: 4.288 MB / 0.5635 GB, free: 70.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.703, allocations: 1.842 MB / 0.5653 GB, free: 70.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007477/0.7105, allocations: 5.631 MB / 0.5708 GB, free: 67.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.7105, allocations: 58.41 kB / 0.5708 GB, free: 67.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 3.586e-06/0.7105, allocations: 0 / 0.5708 GB, free: 67.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=225): time 0.05215/0.7627, allocations: 19.24 MB / 0.5896 GB, free: 49.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.7627, allocations: 209.9 kB / 0.5898 GB, free: 49.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.7666, allocations: 4.487 MB / 0.5942 GB, free: 45.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.7667, allocations: 57.7 kB / 0.5943 GB, free: 45.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.768, allocations: 3.694 MB / 0.5979 GB, free: 41.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.7684, allocations: 0.8814 MB / 0.5987 GB, free: 40.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.7696, allocations: 1.282 MB / 0.6 GB, free: 39.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.7696, allocations: 301.1 kB / 0.6003 GB, free: 39.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.7719, allocations: 2.238 MB / 0.6025 GB, free: 36.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003371/0.7753, allocations: 6.037 MB / 0.6083 GB, free: 29.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/0.7815, allocations: 8.923 MB / 0.6171 GB, free: 18.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.46e-05/0.7816, allocations: 36 kB / 0.6171 GB, free: 18.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01138/0.7929, allocations: 9.05 MB / 0.6259 GB, free: 9.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.793, allocations: 63.94 kB / 0.626 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-05/0.7931, allocations: 136.2 kB / 0.6261 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/0.7961, allocations: 1.195 MB / 0.6273 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.7994, allocations: 1.412 MB / 0.6287 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008755/0.8081, allocations: 7.829 MB / 0.6363 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/0.812, allocations: 339.6 kB / 0.6366 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005061/0.8125, allocations: 387.8 kB / 0.637 GB, free: 13.83 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.003351/0.8158, allocations: 2.486 MB / 0.6394 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/0.8165, allocations: 429.1 kB / 0.6398 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007606/0.8241, allocations: 3.881 MB / 0.6436 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.8241, allocations: 24 kB / 0.6437 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.8241, allocations: 8 kB / 0.6437 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.8241, allocations: 7.969 kB / 0.6437 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.8417, allocations: 9.572 MB / 0.653 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.8417, allocations: 5.031 kB / 0.653 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.8431, allocations: 336.1 kB / 0.6533 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/0.8464, allocations: 0.9877 MB / 0.6543 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.8465, allocations: 40 kB / 0.6544 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009619/0.8562, allocations: 6.517 MB / 0.6607 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.8562, allocations: 8 kB / 0.6607 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.8671, allocations: 6.644 MB / 0.6672 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.8682, allocations: 401 kB / 0.6676 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004206/0.8686, allocations: 37.95 kB / 0.6676 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.8701, allocations: 115.9 kB / 0.6677 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.8704, allocations: 152.9 kB / 0.6679 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.8706, allocations: 62.81 kB / 0.6679 GB, free: 13.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003957/0.8745, allocations: 2.832 MB / 0.6707 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8745, allocations: 0 / 0.6707 GB, free: 10.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005312/0.8798, allocations: 1.158 MB / 0.6718 GB, free: 9.836 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.01183/0.8917, allocations: 7.349 MB / 0.679 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008592/0.9003, allocations: 5.318 MB / 0.6842 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.9003, allocations: 4 kB / 0.6842 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.9029, allocations: 1.707 MB / 0.6859 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.9059, allocations: 0.5815 MB / 0.6864 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07664/0.9825, allocations: 51.6 MB / 0.7368 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2077/1.19, allocations: 3.343 MB / 0.7401 GB, free: 197.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004446/1.195, allocations: 1.946 MB / 0.742 GB, free: 197.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002714/1.197, allocations: 2.308 MB / 0.7443 GB, free: 197.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/1.197, allocations: 0 / 0.7443 GB, free: 197.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.311, allocations: 87.45 MB / 0.8297 GB, free: 120.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.98/23.29, allocations: 4.062 kB / 0.8297 GB, free: 120.4 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 27.332888438017108]