Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.001814/0.001814, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001466/0.001466, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 8.902 MB / 190.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.2188/0.2188, allocations: 34.28 MB / 295.5 MB, free: 14.55 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 75.88 kB / 443.2 MB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 66 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01181/0.3454, allocations: 15.32 MB / 0.5122 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3555, allocations: 5.454 MB / 0.5175 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.3582, allocations: 126.2 kB / 0.5176 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008177/0.3663, allocations: 4.472 MB / 0.522 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007677/0.374, allocations: 3.077 MB / 0.525 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.3771, allocations: 1.496 MB / 0.5265 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.3897, allocations: 8.956 MB / 0.5352 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006348/0.396, allocations: 5.221 MB / 0.5403 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.4007, allocations: 3.052 MB / 0.5433 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00617/0.4069, allocations: 4.375 MB / 0.5476 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.4084, allocations: 0.6652 MB / 0.5482 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.4118, allocations: 1.721 MB / 0.5499 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004228/0.4161, allocations: 3.79 MB / 0.5536 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004583/0.4207, allocations: 3.126 MB / 0.5566 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.4378, allocations: 13.62 MB / 0.5699 GB, free: 11.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4378, allocations: 7.875 kB / 0.57 GB, free: 11.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4378, allocations: 0 / 0.57 GB, free: 11.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003763/0.4382, allocations: 0 / 0.57 GB, free: 11.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02168/0.4599, allocations: 9.127 MB / 0.5789 GB, free: 1.809 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4599, allocations: 8.031 kB / 0.5789 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.4784, allocations: 4.453 MB / 0.5832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.4909, allocations: 5.037 MB / 0.5881 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004259/0.4913, allocations: 430.9 kB / 0.5886 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/0.4936, allocations: 0.5972 MB / 0.5891 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04077/0.5344, allocations: 20.75 MB / 0.6094 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002474/0.5347, allocations: 83.33 kB / 0.6095 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.5358, allocations: 275.7 kB / 0.6097 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005909/0.5417, allocations: 3.71 MB / 0.6134 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03836/0.5801, allocations: 18.22 MB / 0.6312 GB, free: 10.96 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6163/1.196, allocations: 69.37 MB / 0.6989 GB, free: 99.49 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/1.212, allocations: 6.524 MB / 0.7053 GB, free: 99.36 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005053/1.217, allocations: 3.821 MB / 0.709 GB, free: 98.72 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.028/1.245, allocations: 14.85 MB / 0.7235 GB, free: 93.35 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/1.245, allocations: 62.19 kB / 0.7236 GB, free: 93.29 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=335): time 7.574e-06/1.245, allocations: 3.906 kB / 0.7236 GB, free: 93.29 MB / 0.5763 GB Notification: Performance of matching and sorting (n=419): time 0.1131/1.358, allocations: 35.91 MB / 0.7586 GB, free: 83.29 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/1.359, allocations: 202.3 kB / 0.7588 GB, free: 83.09 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006711/1.365, allocations: 6.185 MB / 0.7649 GB, free: 78.89 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006189/1.366, allocations: 81.7 kB / 0.7649 GB, free: 78.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002204/1.368, allocations: 5.621 MB / 0.7704 GB, free: 73.42 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.369, allocations: 1.616 MB / 0.772 GB, free: 71.82 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002291/1.372, allocations: 2.139 MB / 0.7741 GB, free: 69.68 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/1.372, allocations: 301.1 kB / 0.7744 GB, free: 69.38 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005358/1.377, allocations: 4.347 MB / 0.7786 GB, free: 65.03 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007942/1.385, allocations: 10.32 MB / 0.7887 GB, free: 51.91 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/1.399, allocations: 15.68 MB / 0.804 GB, free: 33.51 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/1.399, allocations: 56 kB / 0.8041 GB, free: 33.46 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02773/1.427, allocations: 16.33 MB / 0.82 GB, free: 17.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/1.427, allocations: 92 kB / 0.8201 GB, free: 17.01 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002854/1.428, allocations: 212.2 kB / 0.8203 GB, free: 16.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007417/1.435, allocations: 2.366 MB / 0.8226 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008253/1.443, allocations: 2.472 MB / 0.825 GB, free: 11.96 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.461, allocations: 12.44 MB / 0.8372 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008273/1.469, allocations: 0.6392 MB / 0.8378 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/1.471, allocations: 0.6015 MB / 0.8384 GB, free: 14.17 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1312): * Single equations (assignments): 1305 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00766/1.479, allocations: 3.77 MB / 0.8421 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.48, allocations: 0.5743 MB / 0.8427 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/1.5, allocations: 8.251 MB / 0.8507 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.917e-05/1.5, allocations: 63.98 kB / 0.8508 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.289e-05/1.5, allocations: 16 kB / 0.8508 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.754e-05/1.5, allocations: 15.94 kB / 0.8508 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04231/1.542, allocations: 16.12 MB / 0.8665 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/1.542, allocations: 12 kB / 0.8666 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/1.545, allocations: 0.6288 MB / 0.8672 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007223/1.553, allocations: 1.8 MB / 0.8689 GB, free: 14.66 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005869/1.553, allocations: 87.97 kB / 0.869 GB, free: 14.57 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/1.573, allocations: 10.56 MB / 0.8793 GB, free: 3.926 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/1.573, allocations: 19.94 kB / 0.8793 GB, free: 3.906 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0254/1.598, allocations: 12.43 MB / 0.8915 GB, free: 7.203 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.6, allocations: 0.5233 MB / 0.892 GB, free: 6.676 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/1.602, allocations: 83.98 kB / 0.8921 GB, free: 6.594 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/1.605, allocations: 218.6 kB / 0.8923 GB, free: 6.383 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000969/1.606, allocations: 273.5 kB / 0.8925 GB, free: 6.113 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005071/1.607, allocations: 115.9 kB / 0.8926 GB, free: 6 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007725/1.614, allocations: 3.571 MB / 0.8961 GB, free: 2.457 MB / 0.6388 GB Notification: Performance of sort global known variables: time 9e-08/1.614, allocations: 0 / 0.8961 GB, free: 2.457 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009721/1.624, allocations: 1.913 MB / 0.898 GB, free: 0.5469 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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 {(2,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.001033/1.625, allocations: 286.2 kB / 0.8983 GB, free: 264 kB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01796/1.643, allocations: 9.693 MB / 0.9077 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/1.643, allocations: 0 / 0.9077 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005852/1.649, allocations: 3.122 MB / 0.9108 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/1.654, allocations: 0.6757 MB / 0.9115 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/1.689, allocations: 18.03 MB / 0.9291 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009031/1.698, allocations: 5.112 MB / 0.9341 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.008437/1.706, allocations: 3.257 MB / 0.9372 GB, free: 8.109 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.708, allocations: 396.5 kB / 0.9376 GB, free: 7.723 MB / 0.6857 GB Notification: Performance of SimCode: time 1.102e-06/1.708, allocations: 0 / 0.9376 GB, free: 7.723 MB / 0.6857 GB Notification: Performance of Templates: time 0.3628/2.071, allocations: 62.66 MB / 0.9988 GB, free: 214.9 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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: 9.270335144014098]