Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 113.2 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 191.7 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3379/0.3379, allocations: 44.23 MB / 326.5 MB, free: 6.832 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 71.89 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2871, allocations: 60.99 MB / 0.5109 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009364/0.2964, allocations: 11.51 MB / 0.5222 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007643/0.3041, allocations: 4.058 MB / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.3068, allocations: 67.81 kB / 0.5262 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006464/0.3133, allocations: 2.527 MB / 0.5286 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006283/0.3196, allocations: 1.926 MB / 0.5305 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.3217, allocations: 0.7761 MB / 0.5313 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006777/0.3284, allocations: 4.456 MB / 0.5356 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004107/0.3325, allocations: 2.896 MB / 0.5385 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.3361, allocations: 1.585 MB / 0.54 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.3403, allocations: 2.41 MB / 0.5424 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.3415, allocations: 336 kB / 0.5427 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.344, allocations: 1.002 MB / 0.5437 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002569/0.3466, allocations: 1.994 MB / 0.5456 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.35, allocations: 2.268 MB / 0.5478 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009174/0.3592, allocations: 6.936 MB / 0.5546 GB, free: 2.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3592, allocations: 0 / 0.5546 GB, free: 2.066 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3592, allocations: 0 / 0.5546 GB, free: 2.066 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002527/0.3595, allocations: 0 / 0.5546 GB, free: 2.066 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01105/0.3705, allocations: 4.998 MB / 0.5595 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3706, allocations: 11.89 kB / 0.5595 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0014/0.372, allocations: 0.7358 MB / 0.5602 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007627/0.3796, allocations: 1.995 MB / 0.5622 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007425/0.387, allocations: 3.29 MB / 0.5654 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.3873, allocations: 266.2 kB / 0.5656 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.3883, allocations: 327.8 kB / 0.5659 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.4078, allocations: 10.2 MB / 0.5759 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.408, allocations: 47.58 kB / 0.576 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006027/0.4086, allocations: 159.8 kB / 0.5761 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003036/0.4116, allocations: 1.908 MB / 0.578 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.4289, allocations: 8.142 MB / 0.5859 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0524/0.4813, allocations: 39.36 MB / 0.6244 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008348/0.4896, allocations: 3.157 MB / 0.6274 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4914, allocations: 0.9592 MB / 0.6284 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.5019, allocations: 5.93 MB / 0.6342 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.5019, allocations: 51.5 kB / 0.6342 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 4.539e-06/0.5019, allocations: 0 / 0.6342 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.02358/0.5255, allocations: 9.796 MB / 0.6438 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.5256, allocations: 196.9 kB / 0.644 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.262/0.7877, allocations: 4.106 MB / 0.648 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.7879, allocations: 48.11 kB / 0.648 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.7905, allocations: 3.324 MB / 0.6513 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/0.7912, allocations: 0.6652 MB / 0.6519 GB, free: 119 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/0.7932, allocations: 1.221 MB / 0.6531 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.7932, allocations: 302.2 kB / 0.6534 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/0.7964, allocations: 1.635 MB / 0.655 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005283/0.8017, allocations: 5.506 MB / 0.6604 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007673/0.8094, allocations: 7.753 MB / 0.6679 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/0.8095, allocations: 40.31 kB / 0.668 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01151/0.821, allocations: 6.879 MB / 0.6747 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.812e-05/0.8211, allocations: 62.84 kB / 0.6748 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/0.8212, allocations: 137.2 kB / 0.6749 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.8214, allocations: 178.8 kB / 0.6751 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/0.8252, allocations: 1.419 MB / 0.6764 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001582/0.8254, allocations: 273.9 kB / 0.6767 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/0.8292, allocations: 300.4 kB / 0.677 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/0.8297, allocations: 374.9 kB / 0.6774 GB, free: 101.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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 (767): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002515/0.8322, allocations: 2.038 MB / 0.6793 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/0.8327, allocations: 373.5 kB / 0.6797 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.8345, allocations: 1.348 MB / 0.681 GB, free: 99.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.8345, allocations: 16 kB / 0.681 GB, free: 99.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8345, allocations: 4 kB / 0.681 GB, free: 99.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.8345, allocations: 7.406 kB / 0.681 GB, free: 99.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/0.8422, allocations: 5.831 MB / 0.6867 GB, free: 93.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.8422, allocations: 16 kB / 0.6868 GB, free: 93.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008776/0.8431, allocations: 287.7 kB / 0.687 GB, free: 93.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/0.8431, allocations: 24 kB / 0.687 GB, free: 93.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.8432, allocations: 48 kB / 0.6871 GB, free: 93.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/0.8432, allocations: 35.86 kB / 0.6871 GB, free: 93.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.8432, allocations: 28.91 kB / 0.6872 GB, free: 93.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.8461, allocations: 3.303 MB / 0.6904 GB, free: 89.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.8474, allocations: 0.5414 MB / 0.6909 GB, free: 89.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/0.8478, allocations: 47.98 kB / 0.691 GB, free: 89.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.8489, allocations: 63.95 kB / 0.691 GB, free: 89.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.8491, allocations: 147.2 kB / 0.6912 GB, free: 89.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.8492, allocations: 70.27 kB / 0.6912 GB, free: 89.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003527/0.8527, allocations: 2.548 MB / 0.6937 GB, free: 86.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8527, allocations: 0 / 0.6937 GB, free: 86.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004769/0.8575, allocations: 0.8945 MB / 0.6946 GB, free: 85.56 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003349/0.8608, allocations: 3.964 MB / 0.6985 GB, free: 81.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005184/0.866, allocations: 3.658 MB / 0.702 GB, free: 77.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/0.866, allocations: 4 kB / 0.702 GB, free: 77.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.8669, allocations: 0.7072 MB / 0.7027 GB, free: 77.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.8699, allocations: 476.8 kB / 0.7032 GB, free: 76.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04691/0.9168, allocations: 41.89 MB / 0.7441 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003205/0.92, allocations: 3.181 MB / 0.7472 GB, free: 25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003714/0.9237, allocations: 1.809 MB / 0.749 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00222/0.9259, allocations: 1.878 MB / 0.7508 GB, free: 21.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.9259, allocations: 4 kB / 0.7508 GB, free: 21.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.038, allocations: 59.53 MB / 0.8089 GB, free: 9.754 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.33, allocations: 7.938 kB / 0.8089 GB, free: 9.746 MB / 0.545 GB " [Timeout remaining time 641] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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.871826315298676]