Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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.001262/0.001262, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.00146/0.00146, allocations: 211.6 kB / 23.73 MB, free: 4.531 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 46.96 MB / 360.9 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 0.4961 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3043, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008313/0.3126, allocations: 6.035 MB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.3177, allocations: 2.308 MB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009955/0.3187, allocations: 35.88 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.3211, allocations: 1.028 MB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.3233, allocations: 0.8636 MB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.3242, allocations: 319.2 kB / 0.5709 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.3268, allocations: 1.865 MB / 0.5727 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.3281, allocations: 1.088 MB / 0.5738 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009909/0.3291, allocations: 0.7199 MB / 0.5745 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.3306, allocations: 1.063 MB / 0.5755 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.3309, allocations: 128 kB / 0.5757 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.3321, allocations: 0.6512 MB / 0.5763 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009663/0.3331, allocations: 0.9501 MB / 0.5772 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008932/0.334, allocations: 0.7873 MB / 0.578 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004461/0.3384, allocations: 3.742 MB / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3384, allocations: 0 / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3384, allocations: 0 / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.431e-05/0.3385, allocations: 0 / 0.5816 GB, free: 14.59 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005036/0.3435, allocations: 2.651 MB / 0.5842 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.3436, allocations: 8.031 kB / 0.5842 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005811/0.3442, allocations: 462.4 kB / 0.5847 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/0.3495, allocations: 1.586 MB / 0.5862 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.3524, allocations: 1.027 MB / 0.5872 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.3525, allocations: 115.3 kB / 0.5873 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005076/0.353, allocations: 167.8 kB / 0.5875 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.3633, allocations: 6.174 MB / 0.5935 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-05/0.3633, allocations: 27.75 kB / 0.5936 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.3636, allocations: 79.89 kB / 0.5936 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002505/0.3661, allocations: 1.441 MB / 0.595 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.3768, allocations: 5.381 MB / 0.6003 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02975/0.4066, allocations: 23.88 MB / 0.6236 GB, free: 2.219 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/0.4111, allocations: 1.798 MB / 0.6254 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.4124, allocations: 0.8901 MB / 0.6262 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.4126, allocations: 95.7 kB / 0.6263 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.4127, allocations: 42.56 kB / 0.6264 GB, free: 15.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.136e-06/0.4127, allocations: 0 / 0.6264 GB, free: 15.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02346/0.4361, allocations: 8.376 MB / 0.6345 GB, free: 6.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4363, allocations: 140.5 kB / 0.6347 GB, free: 6.723 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/0.4402, allocations: 2.802 MB / 0.6374 GB, free: 3.895 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.4404, allocations: 41.7 kB / 0.6375 GB, free: 3.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.4421, allocations: 2.112 MB / 0.6395 GB, free: 1.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.4427, allocations: 460.6 kB / 0.64 GB, free: 1.262 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.4439, allocations: 0.8734 MB / 0.6408 GB, free: 384 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.444, allocations: 301.1 kB / 0.6411 GB, free: 80 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.446, allocations: 1.336 MB / 0.6424 GB, free: 14.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/0.4503, allocations: 4.108 MB / 0.6464 GB, free: 9.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007183/0.4575, allocations: 5.938 MB / 0.6522 GB, free: 1.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-05/0.4576, allocations: 28 kB / 0.6522 GB, free: 1.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009149/0.4667, allocations: 5.496 MB / 0.6576 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-05/0.4668, allocations: 47.98 kB / 0.6577 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.881e-05/0.4669, allocations: 100 kB / 0.6578 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.468, allocations: 461.2 kB / 0.6582 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.4709, allocations: 0.9708 MB / 0.6591 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/0.4753, allocations: 3.548 MB / 0.6626 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.4781, allocations: 227.7 kB / 0.6628 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000577/0.4786, allocations: 268 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002181/0.4808, allocations: 1.369 MB / 0.6644 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.4813, allocations: 230.4 kB / 0.6646 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.4838, allocations: 1.322 MB / 0.6659 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.4838, allocations: 12 kB / 0.6659 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4838, allocations: 0 / 0.6659 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4838, allocations: 8.266 kB / 0.6659 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/0.4919, allocations: 4.008 MB / 0.6699 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4919, allocations: 3.938 kB / 0.6699 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.4926, allocations: 135.8 kB / 0.67 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009292/0.4935, allocations: 320.6 kB / 0.6703 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.4936, allocations: 16 kB / 0.6703 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.4974, allocations: 2.955 MB / 0.6732 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4974, allocations: 4.031 kB / 0.6732 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.5019, allocations: 3.079 MB / 0.6762 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.5025, allocations: 214.3 kB / 0.6764 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.5028, allocations: 12 kB / 0.6764 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/0.5035, allocations: 47.94 kB / 0.6765 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.5037, allocations: 52.33 kB / 0.6765 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.5038, allocations: 31.98 kB / 0.6765 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002414/0.5062, allocations: 1.625 MB / 0.6781 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5062, allocations: 4.062 kB / 0.6781 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003283/0.5095, allocations: 0.5897 MB / 0.6787 GB, free: 6.402 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005126/0.5146, allocations: 3.699 MB / 0.6823 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005508/0.5201, allocations: 3.094 MB / 0.6853 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5201, allocations: 0 / 0.6853 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.5213, allocations: 0.8014 MB / 0.6861 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.5228, allocations: 221.2 kB / 0.6863 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04243/0.5652, allocations: 28.4 MB / 0.7141 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.5676, allocations: 1.594 MB / 0.7156 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003112/0.5707, allocations: 1.395 MB / 0.717 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/0.5724, allocations: 1.015 MB / 0.718 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.5724, allocations: 3.938 kB / 0.718 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3072/0.8796, allocations: 40.15 MB / 0.7572 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.73, allocations: 10.78 kB / 0.7572 GB, free: 140.2 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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: 17.86979895501281]