Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.002473/0.002473, allocations: 92.97 kB / 20.21 MB, free: 4.215 MB / 18.57 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.003003/0.003003, allocations: 165.2 kB / 23.53 MB, free: 0.9023 MB / 18.57 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.482/1.482, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 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.2265/0.2265, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.854e-05/4.046e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02309/0.02313, allocations: 15.42 MB / 362.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01813/0.04126, allocations: 5.355 MB / 367.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/0.04592, allocations: 127.4 kB / 367.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01702/0.06294, allocations: 5.518 MB / 373.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.0748, allocations: 2.799 MB / 376.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.08003, allocations: 1.583 MB / 377.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01838/0.09841, allocations: 8.59 MB / 386.3 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01351/0.1119, allocations: 6.17 MB / 392.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.1262, allocations: 4.292 MB / 396.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.139, allocations: 4.287 MB / 401.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00375/0.1427, allocations: 0.6523 MB / 401.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007279/0.15, allocations: 1.752 MB / 403.5 MB, free: 1.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008089/0.1581, allocations: 3.651 MB / 407.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008629/0.1667, allocations: 2.287 MB / 409.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02255/0.1893, allocations: 12.33 MB / 421.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1893, allocations: 3.984 kB / 421.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1893, allocations: 0 / 421.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004342/0.1897, allocations: 0 / 421.7 MB, free: 14.7 MB / 362.7 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.02857/0.2183, allocations: 9.359 MB / 431.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.2184, allocations: 8.031 kB / 431.1 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/0.2371, allocations: 3.773 MB / 434.9 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1618/0.399, allocations: 4.56 MB / 439.4 MB, free: 84.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/0.3994, allocations: 385.2 kB / 439.8 MB, free: 84.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.4017, allocations: 0.511 MB / 440.3 MB, free: 84.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03546/0.4371, allocations: 10.15 MB / 450.5 MB, free: 78.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003808/0.4375, allocations: 55.53 kB / 450.5 MB, free: 78.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002202/0.4397, allocations: 239.2 kB / 450.8 MB, free: 78.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005078/0.4448, allocations: 2.544 MB / 453.3 MB, free: 76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/0.4746, allocations: 5.707 MB / 459 MB, free: 70.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08238/0.557, allocations: 69.79 MB / 0.5164 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/0.5745, allocations: 4.106 MB / 0.5204 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.5775, allocations: 1.141 MB / 0.5215 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02048/0.598, allocations: 7.043 MB / 0.5284 GB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.37e-05/0.598, allocations: 71.31 kB / 0.5285 GB, free: 2.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 6.692e-06/0.5981, allocations: 4 kB / 0.5285 GB, free: 2.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=343): time 0.1212/0.7193, allocations: 28.46 MB / 0.5563 GB, free: 6.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002269/0.7195, allocations: 243.9 kB / 0.5565 GB, free: 5.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01329/0.7328, allocations: 6.3 MB / 0.5627 GB, free: 15.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/0.7339, allocations: 73.7 kB / 0.5627 GB, free: 15.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005984/0.7399, allocations: 5.041 MB / 0.5677 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003687/0.7435, allocations: 1.451 MB / 0.5691 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004771/0.7483, allocations: 2.218 MB / 0.5712 GB, free: 6.566 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002836/0.7486, allocations: 484.7 kB / 0.5717 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/0.753, allocations: 1.45 MB / 0.5731 GB, free: 4.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/0.7666, allocations: 8.574 MB / 0.5815 GB, free: 8.973 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2292/0.9957, allocations: 11.35 MB / 0.5926 GB, free: 126.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002487/0.996, allocations: 44.84 kB / 0.5926 GB, free: 126.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02842/1.024, allocations: 10.46 MB / 0.6028 GB, free: 125.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.025, allocations: 79.03 kB / 0.6029 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/1.025, allocations: 161.7 kB / 0.6031 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/1.04, allocations: 3.243 MB / 0.6062 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006328/1.046, allocations: 1.891 MB / 0.6081 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/1.066, allocations: 9.026 MB / 0.6169 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008662/1.075, allocations: 0.6062 MB / 0.6175 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001639/1.077, allocations: 483.6 kB / 0.6179 GB, free: 123 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1027): * Single equations (assignments): 1023 * 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.003472/1.08, allocations: 0.9426 MB / 0.6189 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/1.082, allocations: 0.6032 MB / 0.6195 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.098, allocations: 5.582 MB / 0.6249 GB, free: 119.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.467e-05/1.098, allocations: 36 kB / 0.6249 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/1.098, allocations: 19.94 kB / 0.625 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-05/1.098, allocations: 15.94 kB / 0.625 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03799/1.136, allocations: 14.77 MB / 0.6394 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-05/1.136, allocations: 8.875 kB / 0.6394 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.139, allocations: 0.4992 MB / 0.6399 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01439/1.153, allocations: 2.843 MB / 0.6427 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009387/1.154, allocations: 64 kB / 0.6427 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/1.171, allocations: 7.336 MB / 0.6499 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.171, allocations: 15.88 kB / 0.6499 GB, free: 93.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.191, allocations: 7.371 MB / 0.6571 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004965/1.196, allocations: 1.083 MB / 0.6582 GB, free: 85.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002053/1.198, allocations: 60 kB / 0.6582 GB, free: 85.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004873/1.203, allocations: 319.5 kB / 0.6585 GB, free: 85.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/1.204, allocations: 246.1 kB / 0.6588 GB, free: 84.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/1.204, allocations: 92 kB / 0.6589 GB, free: 84.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007545/1.212, allocations: 2.698 MB / 0.6615 GB, free: 82.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.212, allocations: 0 / 0.6615 GB, free: 82.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01206/1.224, allocations: 2 MB / 0.6634 GB, free: 80.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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.00128/1.225, allocations: 283.7 kB / 0.6637 GB, free: 79.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.236, allocations: 5.903 MB / 0.6695 GB, free: 73.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.236, allocations: 0 / 0.6695 GB, free: 73.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003506/1.24, allocations: 2.066 MB / 0.6715 GB, free: 71.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/1.244, allocations: 0.6904 MB / 0.6722 GB, free: 71.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.266, allocations: 12.95 MB / 0.6848 GB, free: 57.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005212/1.271, allocations: 3.971 MB / 0.6887 GB, free: 53.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005587/1.277, allocations: 2.125 MB / 0.6908 GB, free: 51.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.279, allocations: 344.5 kB / 0.6911 GB, free: 51.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/1.279, allocations: 0 / 0.6911 GB, free: 51.45 MB / 442.7 MB Notification: Performance of Templates: time 0.3372/1.616, allocations: 75.2 MB / 0.7645 GB, free: 136.3 MB / 458.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 8.966727562015876]