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.001889/0.001889, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00229/0.00229, allocations: 206.2 kB / 23.73 MB, free: 4.391 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2471/0.2471, allocations: 46.94 MB / 360.8 MB, free: 3.934 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.002563/0.002563, allocations: 79.88 kB / 0.4962 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3467, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01204/0.3588, allocations: 9.109 MB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008186/0.367, allocations: 3.691 MB / 0.5732 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.3684, allocations: 71.62 kB / 0.5733 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.3727, allocations: 2.013 MB / 0.5752 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004801/0.3775, allocations: 1.731 MB / 0.5769 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.3794, allocations: 0.7018 MB / 0.5776 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005877/0.3853, allocations: 4.012 MB / 0.5815 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.3888, allocations: 2.152 MB / 0.5836 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.3914, allocations: 1.324 MB / 0.5849 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.3946, allocations: 1.908 MB / 0.5868 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008955/0.3955, allocations: 264 kB / 0.587 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.3981, allocations: 1.081 MB / 0.5881 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.4004, allocations: 1.714 MB / 0.5898 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002938/0.4033, allocations: 1.452 MB / 0.5912 GB, free: 4.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.4116, allocations: 6.369 MB / 0.5974 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4117, allocations: 4 kB / 0.5974 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4117, allocations: 0 / 0.5974 GB, free: 14.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001392/0.4118, allocations: 0 / 0.5974 GB, free: 14.27 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.01054/0.4223, allocations: 4.366 MB / 0.6017 GB, free: 9.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4224, allocations: 8.031 kB / 0.6017 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009365/0.4233, allocations: 0.6249 MB / 0.6023 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08613/0.5094, allocations: 7.048 MB / 0.6092 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007784/0.5172, allocations: 2.577 MB / 0.6117 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.5175, allocations: 201.2 kB / 0.6119 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.5188, allocations: 275.7 kB / 0.6121 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.5372, allocations: 8.6 MB / 0.6205 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.5374, allocations: 47.62 kB / 0.6206 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008823/0.5382, allocations: 127.9 kB / 0.6207 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003136/0.5414, allocations: 1.727 MB / 0.6224 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/0.557, allocations: 7.159 MB / 0.6294 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04772/0.6047, allocations: 32.12 MB / 0.6607 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009072/0.6138, allocations: 2.832 MB / 0.6635 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.6164, allocations: 1.522 MB / 0.665 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01312/0.6296, allocations: 5.938 MB / 0.6708 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.6296, allocations: 55.5 kB / 0.6709 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.641e-06/0.6296, allocations: 0 / 0.6709 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06699/0.6966, allocations: 18.96 MB / 0.6894 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.6968, allocations: 201.2 kB / 0.6896 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007152/0.7039, allocations: 3.961 MB / 0.6934 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003734/0.7043, allocations: 53.7 kB / 0.6935 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/0.707, allocations: 2.941 MB / 0.6964 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/0.7082, allocations: 0.7403 MB / 0.6971 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00275/0.7109, allocations: 1.179 MB / 0.6982 GB, free: 5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7111, allocations: 301.1 kB / 0.6985 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/0.7149, allocations: 2.1 MB / 0.7006 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007035/0.7219, allocations: 5.71 MB / 0.7061 GB, free: 11.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.7333, allocations: 8.419 MB / 0.7144 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001613/0.7335, allocations: 36 kB / 0.7144 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01923/0.7527, allocations: 8.694 MB / 0.7229 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.7529, allocations: 57.47 kB / 0.7229 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/0.7531, allocations: 128 kB / 0.7231 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005093/0.7582, allocations: 1.391 MB / 0.7244 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.7627, allocations: 1.302 MB / 0.7257 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2829/1.046, allocations: 8.99 MB / 0.7345 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/1.049, allocations: 306.4 kB / 0.7348 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006906/1.05, allocations: 361.6 kB / 0.7351 GB, free: 149.4 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.002547/1.053, allocations: 1.891 MB / 0.737 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/1.053, allocations: 351.8 kB / 0.7373 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006985/1.06, allocations: 3.748 MB / 0.741 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/1.06, allocations: 24.62 kB / 0.741 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/1.06, allocations: 11.84 kB / 0.741 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.06, allocations: 7.594 kB / 0.741 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.074, allocations: 7.782 MB / 0.7486 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.074, allocations: 6.75 kB / 0.7486 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.075, allocations: 250.5 kB / 0.7488 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00389/1.079, allocations: 1.179 MB / 0.75 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/1.079, allocations: 31.53 kB / 0.75 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009763/1.089, allocations: 8.285 MB / 0.7581 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.089, allocations: 0 / 0.7581 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00914/1.098, allocations: 6.289 MB / 0.7643 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.099, allocations: 319.1 kB / 0.7646 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/1.1, allocations: 28 kB / 0.7646 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.101, allocations: 83.91 kB / 0.7647 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/1.101, allocations: 116.9 kB / 0.7648 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.101, allocations: 59.42 kB / 0.7648 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002699/1.104, allocations: 2.327 MB / 0.7671 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.104, allocations: 0 / 0.7671 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003857/1.108, allocations: 0.95 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.008819/1.117, allocations: 6.988 MB / 0.7749 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006031/1.123, allocations: 5.012 MB / 0.7798 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.123, allocations: 4 kB / 0.7798 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.124, allocations: 1.628 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.002098/1.126, allocations: 406.6 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.05022/1.177, allocations: 44.33 MB / 0.825 GB, free: 63.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/1.179, allocations: 2.414 MB / 0.8274 GB, free: 61.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003394/1.182, allocations: 1.815 MB / 0.8291 GB, free: 59.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/1.184, allocations: 1.644 MB / 0.8308 GB, free: 57.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/1.184, allocations: 0.7656 kB / 0.8308 GB, free: 57.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/1.289, allocations: 67.68 MB / 0.8968 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.95, allocations: 15.36 kB / 0.8969 GB, free: 6.672 MB / 0.5762 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 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.csv","/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: 21.135288470890373]