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.001364/0.001364, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001494/0.001494, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.384/1.384, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2132/0.2132, allocations: 46.96 MB / 360.8 MB, free: 3.914 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.88 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2933, allocations: 66.08 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01145/0.3048, allocations: 9.117 MB / 0.5696 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.3127, allocations: 3.691 MB / 0.5732 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.3141, allocations: 71.62 kB / 0.5733 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.3183, allocations: 2.021 MB / 0.5752 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004395/0.3227, allocations: 1.732 MB / 0.5769 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.3244, allocations: 0.694 MB / 0.5776 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00557/0.3299, allocations: 4.006 MB / 0.5815 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003267/0.3332, allocations: 2.156 MB / 0.5836 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.3357, allocations: 1.324 MB / 0.5849 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.3389, allocations: 1.912 MB / 0.5868 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008056/0.3397, allocations: 264 kB / 0.587 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.342, allocations: 1.077 MB / 0.5881 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002018/0.3441, allocations: 1.714 MB / 0.5898 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002388/0.3464, allocations: 1.452 MB / 0.5912 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007983/0.3544, allocations: 6.362 MB / 0.5974 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3544, allocations: 7.938 kB / 0.5974 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3544, allocations: 0 / 0.5974 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002239/0.3547, allocations: 4 kB / 0.5974 GB, free: 14.23 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.01138/0.366, allocations: 4.37 MB / 0.6017 GB, free: 9.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3661, allocations: 12.03 kB / 0.6017 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001426/0.3675, allocations: 0.621 MB / 0.6023 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08407/0.4516, allocations: 7.052 MB / 0.6092 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006715/0.4583, allocations: 2.573 MB / 0.6117 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.4585, allocations: 193.3 kB / 0.6119 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007944/0.4593, allocations: 275.7 kB / 0.6121 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.4728, allocations: 8.6 MB / 0.6205 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.4729, allocations: 43.64 kB / 0.6206 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/0.4733, allocations: 127.9 kB / 0.6207 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002807/0.4761, allocations: 1.735 MB / 0.6224 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.4893, allocations: 7.155 MB / 0.6294 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0401/0.5294, allocations: 32.12 MB / 0.6607 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008368/0.5378, allocations: 2.836 MB / 0.6635 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.5399, allocations: 1.518 MB / 0.665 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5512, allocations: 5.942 MB / 0.6708 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.5513, allocations: 55.5 kB / 0.6709 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.399e-06/0.5513, allocations: 0 / 0.6709 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06068/0.6119, allocations: 18.97 MB / 0.6894 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.6121, allocations: 197.2 kB / 0.6896 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.6173, allocations: 3.961 MB / 0.6934 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.6176, allocations: 53.64 kB / 0.6935 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002156/0.6197, allocations: 2.933 MB / 0.6963 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007782/0.6205, allocations: 0.7481 MB / 0.6971 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.622, allocations: 1.179 MB / 0.6982 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6222, allocations: 301.1 kB / 0.6985 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003231/0.6254, allocations: 2.104 MB / 0.7006 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005992/0.6314, allocations: 5.706 MB / 0.7061 GB, free: 11.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.642, allocations: 8.428 MB / 0.7144 GB, free: 0.875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.6421, allocations: 36 kB / 0.7144 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01815/0.6603, allocations: 8.689 MB / 0.7229 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.6604, allocations: 61 kB / 0.7229 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/0.6605, allocations: 124 kB / 0.7231 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/0.6654, allocations: 1.387 MB / 0.7244 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.6695, allocations: 1.294 MB / 0.7257 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2595/0.929, allocations: 8.993 MB / 0.7345 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/0.9327, allocations: 304.5 kB / 0.7348 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004342/0.9332, allocations: 361.5 kB / 0.7351 GB, free: 149.3 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.002291/0.9354, allocations: 1.898 MB / 0.737 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/0.936, allocations: 351.6 kB / 0.7373 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.943, allocations: 3.742 MB / 0.7409 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.943, allocations: 27.88 kB / 0.741 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.943, allocations: 11.28 kB / 0.741 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.943, allocations: 7.219 kB / 0.741 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.9566, allocations: 7.78 MB / 0.7486 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9566, allocations: 6.156 kB / 0.7486 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.9577, allocations: 255.5 kB / 0.7488 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003963/0.9617, allocations: 1.177 MB / 0.75 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.9618, allocations: 32.34 kB / 0.75 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009703/0.9715, allocations: 8.288 MB / 0.7581 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9715, allocations: 0 / 0.7581 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008959/0.9805, allocations: 6.288 MB / 0.7643 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/0.9813, allocations: 318.2 kB / 0.7646 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/0.9817, allocations: 28 kB / 0.7646 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9829, allocations: 79.91 kB / 0.7647 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.9832, allocations: 127.7 kB / 0.7648 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.9833, allocations: 51.98 kB / 0.7648 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002684/0.986, allocations: 2.332 MB / 0.7671 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.986, allocations: 0 / 0.7671 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003997/0.99, allocations: 0.9458 MB / 0.768 GB, free: 127.4 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.009216/0.9992, allocations: 6.983 MB / 0.7749 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006255/1.005, allocations: 5.019 MB / 0.7798 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.005, allocations: 3.75 kB / 0.7798 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/1.007, allocations: 1.631 MB / 0.7813 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/1.01, allocations: 406.3 kB / 0.7817 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04829/1.058, allocations: 44.33 MB / 0.825 GB, free: 63.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/1.06, allocations: 2.41 MB / 0.8274 GB, free: 61.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003234/1.064, allocations: 1.819 MB / 0.8292 GB, free: 59.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.065, allocations: 1.647 MB / 0.8308 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/1.065, allocations: 0 / 0.8308 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9923/2.058, allocations: 67.68 MB / 0.8969 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/18.9, allocations: 3.859 kB / 0.8969 GB, free: 6.656 MB / 0.5762 GB " [Timeout remaining time 641] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.417657971847802]