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.001164/0.001164, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001068/0.001068, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.009/1.009, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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.1538/0.1538, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 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.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 2.235e-06/2.235e-06, allocations: 0 / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.754e-05, allocations: 9.344 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01228/0.01231, allocations: 15.12 MB / 363.2 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.02382, allocations: 5.328 MB / 368.6 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003891/0.02771, allocations: 131.3 kB / 368.7 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006974/0.03468, allocations: 5.444 MB / 374.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007616/0.0423, allocations: 2.811 MB / 376.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.04567, allocations: 1.587 MB / 378.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01106/0.05673, allocations: 8.597 MB / 387.1 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/0.06776, allocations: 6.174 MB / 393.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/0.08012, allocations: 5.279 MB / 398.6 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006872/0.08699, allocations: 4.236 MB / 402.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002465/0.08946, allocations: 0.6484 MB / 403.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/0.09377, allocations: 1.748 MB / 405.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005395/0.09917, allocations: 3.639 MB / 408.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.105, allocations: 2.287 MB / 411.1 MB, free: 9.898 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.1171, allocations: 7.623 MB / 418.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1171, allocations: 0 / 418.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1171, allocations: 4 kB / 418.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004046/0.1175, allocations: 0 / 418.8 MB, free: 2.246 MB / 346.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.01483/0.1324, allocations: 8.152 MB / 426.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1324, allocations: 8.031 kB / 426.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008545/0.141, allocations: 2.705 MB / 429.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007432/0.1484, allocations: 3.795 MB / 433.4 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.1487, allocations: 390.1 kB / 433.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.1504, allocations: 0.5081 MB / 434.3 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2157/0.3661, allocations: 8.222 MB / 442.5 MB, free: 59.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002895/0.3664, allocations: 60.55 kB / 442.6 MB, free: 59.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007076/0.3671, allocations: 236.6 kB / 442.8 MB, free: 59.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002629/0.3697, allocations: 2.307 MB / 445.1 MB, free: 59.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.3813, allocations: 3.816 MB / 448.9 MB, free: 59.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05254/0.4339, allocations: 58.85 MB / 0.4959 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007213/0.4411, allocations: 2.882 MB / 0.4987 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4423, allocations: 0.8006 MB / 0.4995 GB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009994/0.4523, allocations: 7.148 MB / 0.5065 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.4524, allocations: 66.95 kB / 0.5065 GB, free: 1.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=229): time 4.117e-06/0.4524, allocations: 0 / 0.5065 GB, free: 1.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=313): time 0.03973/0.4921, allocations: 14.27 MB / 0.5205 GB, free: 3.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.4922, allocations: 239.7 kB / 0.5207 GB, free: 3.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006131/0.4984, allocations: 4.945 MB / 0.5255 GB, free: 15.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006143/0.499, allocations: 75.34 kB / 0.5256 GB, free: 15.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003698/0.5027, allocations: 4.825 MB / 0.5303 GB, free: 10.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001749/0.5044, allocations: 1.25 MB / 0.5315 GB, free: 9.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002074/0.5065, allocations: 1.832 MB / 0.5333 GB, free: 7.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5067, allocations: 476.8 kB / 0.5338 GB, free: 7.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.5084, allocations: 0.9496 MB / 0.5347 GB, free: 6.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006207/0.5146, allocations: 7.938 MB / 0.5425 GB, free: 11.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009994/0.5246, allocations: 9.643 MB / 0.5519 GB, free: 15.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002085/0.5248, allocations: 47.94 kB / 0.5519 GB, free: 15.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01852/0.5434, allocations: 7.445 MB / 0.5592 GB, free: 8.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.5435, allocations: 76 kB / 0.5593 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002578/0.5437, allocations: 160 kB / 0.5594 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004253/0.548, allocations: 1.47 MB / 0.5608 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/0.5529, allocations: 1.825 MB / 0.5626 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007518/0.5604, allocations: 5.478 MB / 0.568 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/0.5664, allocations: 347.7 kB / 0.5683 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/0.5677, allocations: 412 kB / 0.5687 GB, free: 14.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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 (1031): * Single equations (assignments): 1027 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003163/0.5709, allocations: 0.8282 MB / 0.5695 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/0.5724, allocations: 0.5865 MB / 0.5701 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005092/0.5775, allocations: 2.796 MB / 0.5728 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/0.5775, allocations: 32 kB / 0.5728 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.5775, allocations: 8 kB / 0.5729 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.5776, allocations: 15.94 kB / 0.5729 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.5951, allocations: 9.619 MB / 0.5823 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.5952, allocations: 16 kB / 0.5823 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.5964, allocations: 423.4 kB / 0.5827 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004089/0.6004, allocations: 1.236 MB / 0.5839 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004164/0.6009, allocations: 67.98 kB / 0.584 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006145/0.607, allocations: 4.275 MB / 0.5881 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/0.607, allocations: 21.47 kB / 0.5881 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007908/0.6149, allocations: 4.462 MB / 0.5925 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/0.6173, allocations: 0.8068 MB / 0.5933 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007118/0.618, allocations: 71.92 kB / 0.5934 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.6194, allocations: 60 kB / 0.5934 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/0.6198, allocations: 241.2 kB / 0.5936 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.62, allocations: 86.2 kB / 0.5937 GB, free: 4.879 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003027/0.623, allocations: 2.075 MB / 0.5958 GB, free: 3.027 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.623, allocations: 0 / 0.5958 GB, free: 3.027 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007846/0.6308, allocations: 1.781 MB / 0.5975 GB, free: 1.246 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009051/0.6317, allocations: 289.6 kB / 0.5978 GB, free: 0.957 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1834/0.8151, allocations: 4.228 MB / 0.6019 GB, free: 157.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-05/0.8152, allocations: 6.312 kB / 0.6019 GB, free: 157.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.8173, allocations: 1.306 MB / 0.6032 GB, free: 157 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/0.8206, allocations: 0.6812 MB / 0.6038 GB, free: 157 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.8393, allocations: 12.23 MB / 0.6158 GB, free: 151.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.8415, allocations: 1.984 MB / 0.6177 GB, free: 151.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002439/0.8439, allocations: 0.7233 MB / 0.6184 GB, free: 151.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.8452, allocations: 0.8651 MB / 0.6193 GB, free: 151.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/0.8452, allocations: 0 / 0.6193 GB, free: 151.5 MB / 458.7 MB Notification: Performance of Templates: time 0.08344/0.9286, allocations: 63.23 MB / 0.681 GB, free: 94.3 MB / 458.7 MB " [Timeout remaining time 659] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.322272683959454]