Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.00129/0.00129, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001424/0.001424, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.366/1.366, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.93 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2975, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01269/0.3102, allocations: 10.42 MB / 0.5717 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008181/0.3184, allocations: 3.934 MB / 0.5755 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.3199, allocations: 71.69 kB / 0.5756 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004053/0.324, allocations: 2.114 MB / 0.5777 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.3284, allocations: 1.716 MB / 0.5793 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.3302, allocations: 0.6901 MB / 0.58 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00597/0.3361, allocations: 4.012 MB / 0.5839 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.339, allocations: 2.155 MB / 0.586 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.3414, allocations: 1.328 MB / 0.5873 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.3446, allocations: 2.009 MB / 0.5893 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000609/0.3452, allocations: 264 kB / 0.5895 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.3474, allocations: 1.221 MB / 0.5907 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.3491, allocations: 1.706 MB / 0.5924 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.3513, allocations: 1.961 MB / 0.5943 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.3597, allocations: 6.342 MB / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3597, allocations: 0 / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3597, allocations: 0 / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001696/0.3599, allocations: 0 / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.0115/0.3714, allocations: 4.366 MB / 0.6048 GB, free: 7.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3714, allocations: 12.03 kB / 0.6048 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001088/0.3715, allocations: 89.23 kB / 0.6049 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009808/0.3725, allocations: 0.6249 MB / 0.6055 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0831/0.4556, allocations: 7.052 MB / 0.6124 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005868/0.4615, allocations: 2.561 MB / 0.6149 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.4617, allocations: 201 kB / 0.6151 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006118/0.4623, allocations: 275.7 kB / 0.6153 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.476, allocations: 8.525 MB / 0.6236 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.4761, allocations: 35.7 kB / 0.6237 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/0.4765, allocations: 131.8 kB / 0.6238 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002993/0.4795, allocations: 1.743 MB / 0.6255 GB, free: 1.766 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.493, allocations: 7.167 MB / 0.6325 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/0.5329, allocations: 33.75 MB / 0.6655 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008511/0.5414, allocations: 2.843 MB / 0.6682 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002377/0.5438, allocations: 1.522 MB / 0.6697 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.5555, allocations: 6.301 MB / 0.6759 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.5556, allocations: 47.5 kB / 0.6759 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 5.43e-06/0.5556, allocations: 4 kB / 0.6759 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.06213/0.6177, allocations: 18.91 MB / 0.6944 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6178, allocations: 201.2 kB / 0.6946 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005113/0.6229, allocations: 3.749 MB / 0.6982 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.6232, allocations: 53.7 kB / 0.6983 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.6255, allocations: 2.933 MB / 0.7012 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008521/0.6263, allocations: 0.752 MB / 0.7019 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.6279, allocations: 1.183 MB / 0.703 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.628, allocations: 301.1 kB / 0.7033 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/0.6312, allocations: 2.097 MB / 0.7054 GB, free: 14.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/0.6372, allocations: 5.656 MB / 0.7109 GB, free: 7.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.6477, allocations: 8.429 MB / 0.7191 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.4e-05/0.6477, allocations: 39.94 kB / 0.7192 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01847/0.6662, allocations: 8.692 MB / 0.7277 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.001e-05/0.6663, allocations: 59.94 kB / 0.7277 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.6664, allocations: 124 kB / 0.7278 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/0.6717, allocations: 1.38 MB / 0.7292 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/0.6763, allocations: 1.298 MB / 0.7305 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2666/0.9428, allocations: 9.098 MB / 0.7393 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/0.9468, allocations: 305.4 kB / 0.7396 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006896/0.9475, allocations: 353.6 kB / 0.74 GB, free: 148.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 691 * 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,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002396/0.9499, allocations: 1.893 MB / 0.7418 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.9503, allocations: 356.2 kB / 0.7422 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007074/0.9574, allocations: 3.751 MB / 0.7458 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.9574, allocations: 19.12 kB / 0.7458 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.9575, allocations: 8.859 kB / 0.7458 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.9575, allocations: 7.641 kB / 0.7459 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.9707, allocations: 8.111 MB / 0.7538 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.9707, allocations: 1.688 kB / 0.7538 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.9719, allocations: 252.3 kB / 0.754 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/0.9758, allocations: 1.182 MB / 0.7552 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.976, allocations: 28 kB / 0.7552 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009224/0.9852, allocations: 8.379 MB / 0.7634 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.9852, allocations: 0 / 0.7634 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008679/0.9939, allocations: 6.285 MB / 0.7695 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/0.9946, allocations: 321.2 kB / 0.7698 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.995, allocations: 28 kB / 0.7699 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.9962, allocations: 91.56 kB / 0.7699 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.9965, allocations: 114.2 kB / 0.77 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.9966, allocations: 53.3 kB / 0.7701 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002493/0.9991, allocations: 2.324 MB / 0.7724 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9991, allocations: 3.969 kB / 0.7724 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003943/1.003, allocations: 0.9501 MB / 0.7733 GB, free: 123.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009202/1.012, allocations: 6.98 MB / 0.7801 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006281/1.019, allocations: 5.031 MB / 0.785 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.019, allocations: 0.7656 kB / 0.785 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/1.02, allocations: 1.622 MB / 0.7866 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/1.022, allocations: 406.4 kB / 0.787 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04828/1.071, allocations: 44.35 MB / 0.8303 GB, free: 60.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/1.073, allocations: 2.953 MB / 0.8332 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003249/1.076, allocations: 1.815 MB / 0.835 GB, free: 55.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.078, allocations: 1.647 MB / 0.8366 GB, free: 53.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.078, allocations: 0 / 0.8366 GB, free: 53.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/1.184, allocations: 72.19 MB / 0.9071 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.42/28.6, allocations: 6.25 kB / 0.9071 GB, free: 13.75 MB / 0.5919 GB " [Timeout remaining time 631] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: 32.4587040929473]