Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001392/0.001392, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001403/0.001403, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.534/1.534, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2417/0.2417, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 79.88 kB / 0.4912 GB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1465, allocations: 65.99 MB / 0.5557 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01849/0.165, allocations: 16.05 MB / 0.5714 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1786, allocations: 5.476 MB / 0.5767 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.1823, allocations: 111.6 kB / 0.5768 GB, free: 460 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.1925, allocations: 5.171 MB / 0.5819 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007735/0.2003, allocations: 2.657 MB / 0.5844 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.2039, allocations: 1.403 MB / 0.5858 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3093/0.5132, allocations: 8.243 MB / 0.5939 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.5242, allocations: 5.761 MB / 0.5995 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007527/0.5317, allocations: 2.781 MB / 0.6022 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009353/0.541, allocations: 4.023 MB / 0.6061 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003192/0.5442, allocations: 0.6337 MB / 0.6068 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006446/0.5507, allocations: 1.825 MB / 0.6085 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006467/0.5571, allocations: 3.44 MB / 0.6119 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009443/0.5666, allocations: 3.785 MB / 0.6156 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.5846, allocations: 12.19 MB / 0.6275 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.5847, allocations: 0 / 0.6275 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.5847, allocations: 0 / 0.6275 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006031/0.5853, allocations: 0 / 0.6275 GB, free: 13.61 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02722/0.6125, allocations: 8.374 MB / 0.6357 GB, free: 8.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6125, allocations: 9.844 kB / 0.6357 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003978/0.6165, allocations: 1.15 MB / 0.6368 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05157/0.6681, allocations: 8.407 MB / 0.645 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0172/0.6853, allocations: 5.905 MB / 0.6508 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004335/0.6857, allocations: 382.1 kB / 0.6512 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/0.6885, allocations: 0.5134 MB / 0.6517 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03312/0.7216, allocations: 15.41 MB / 0.6667 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/0.7218, allocations: 72.83 kB / 0.6668 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/0.7229, allocations: 233.2 kB / 0.667 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004034/0.7269, allocations: 2.541 MB / 0.6695 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02898/0.7559, allocations: 12.89 MB / 0.6821 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08909/0.845, allocations: 57.01 MB / 0.7377 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/0.8632, allocations: 6.112 MB / 0.7437 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/0.8682, allocations: 3.096 MB / 0.7467 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0211/0.8893, allocations: 11.37 MB / 0.7578 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.002e-05/0.8894, allocations: 63.56 kB / 0.7579 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=245): time 6.833e-06/0.8894, allocations: 0 / 0.7579 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=338): time 0.1384/1.028, allocations: 39.83 MB / 0.7968 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/1.028, allocations: 243.8 kB / 0.797 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.038, allocations: 5.746 MB / 0.8026 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.039, allocations: 73.7 kB / 0.8027 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00431/1.044, allocations: 4.618 MB / 0.8072 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002306/1.046, allocations: 1.289 MB / 0.8085 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003089/1.049, allocations: 1.639 MB / 0.8101 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.049, allocations: 304.7 kB / 0.8104 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006372/1.056, allocations: 3.78 MB / 0.8141 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/1.066, allocations: 8.302 MB / 0.8222 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01885/1.085, allocations: 13 MB / 0.8349 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/1.085, allocations: 48 kB / 0.8349 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.361/1.446, allocations: 15.43 MB / 0.85 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/1.447, allocations: 73.14 kB / 0.8501 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000326/1.447, allocations: 156.8 kB / 0.8502 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01555/1.462, allocations: 4.104 MB / 0.8542 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006955/1.469, allocations: 1.798 MB / 0.856 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02935/1.499, allocations: 20.93 MB / 0.8764 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007636/1.506, allocations: 0.4886 MB / 0.8769 GB, free: 210.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/1.508, allocations: 467.2 kB / 0.8773 GB, free: 210.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (966): * Single equations (assignments): 962 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007124/1.515, allocations: 3.113 MB / 0.8804 GB, free: 209.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.517, allocations: 0.5576 MB / 0.8809 GB, free: 209.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/1.535, allocations: 9.565 MB / 0.8903 GB, free: 206 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-05/1.535, allocations: 40.22 kB / 0.8903 GB, free: 206 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.288e-05/1.535, allocations: 14.09 kB / 0.8903 GB, free: 206 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.247e-05/1.535, allocations: 15.42 kB / 0.8903 GB, free: 206 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04005/1.575, allocations: 19.57 MB / 0.9094 GB, free: 191.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/1.575, allocations: 14.98 kB / 0.9094 GB, free: 191.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.577, allocations: 495.9 kB / 0.9099 GB, free: 190.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/1.588, allocations: 3.652 MB / 0.9135 GB, free: 187.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007095/1.589, allocations: 63.98 kB / 0.9135 GB, free: 187.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02171/1.611, allocations: 18.44 MB / 0.9316 GB, free: 168.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.611, allocations: 11.94 kB / 0.9316 GB, free: 168.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02261/1.633, allocations: 14.2 MB / 0.9454 GB, free: 154.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.636, allocations: 0.5929 MB / 0.946 GB, free: 154 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.637, allocations: 60.06 kB / 0.9461 GB, free: 154 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.64, allocations: 229 kB / 0.9463 GB, free: 153.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006441/1.64, allocations: 225.8 kB / 0.9465 GB, free: 153.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/1.641, allocations: 91.27 kB / 0.9466 GB, free: 153.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005254/1.646, allocations: 3.643 MB / 0.9501 GB, free: 149.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/1.646, allocations: 0 / 0.9501 GB, free: 149.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008601/1.654, allocations: 1.685 MB / 0.9518 GB, free: 148.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (256): * Single equations (assignments): 252 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02574/1.68, allocations: 14.95 MB / 0.9664 GB, free: 133 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.695, allocations: 8.825 MB / 0.975 GB, free: 124.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.695, allocations: 4.375 kB / 0.975 GB, free: 124.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004763/1.7, allocations: 3.323 MB / 0.9783 GB, free: 120.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/1.705, allocations: 0.7765 MB / 0.979 GB, free: 120.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1224/1.827, allocations: 78.5 MB / 1.056 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007128/1.834, allocations: 4.826 MB / 1.06 GB, free: 29.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00635/1.841, allocations: 2.59 MB / 1.063 GB, free: 27.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004852/1.846, allocations: 3.069 MB / 1.066 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/1.846, allocations: 0 / 1.066 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.537/2.383, allocations: 128.9 MB / 1.192 GB, free: 147.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.37/42.75, allocations: 11.78 kB / 1.192 GB, free: 147.8 MB / 0.6544 GB " [Timeout remaining time 617] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 47.462759122718126]