Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.001895/0.001895, allocations: 74.66 kB / 19.93 MB, free: 1.781 MB / 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.002739/0.002739, allocations: 165.2 kB / 23.21 MB, free: 4.906 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.545/1.545, allocations: 158.6 MB / 185 MB, free: 6.414 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.2315/0.2315, allocations: 32.37 MB / 269.6 MB, free: 4.684 MB / 254.1 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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.242e-05, allocations: 4.391 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02044/0.02047, allocations: 14.28 MB / 421.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.03636, allocations: 5.066 MB / 426.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004218/0.04058, allocations: 115.5 kB / 426.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009948/0.05053, allocations: 4.278 MB / 431.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00949/0.06002, allocations: 2.95 MB / 434 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.06398, allocations: 1.415 MB / 435.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01395/0.07793, allocations: 8.414 MB / 443.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.08809, allocations: 5.505 MB / 449.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009909/0.098, allocations: 4.171 MB / 453.5 MB, free: 4.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009669/0.1077, allocations: 4.248 MB / 457.8 MB, free: 380 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003144/0.1108, allocations: 0.6055 MB / 458.4 MB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006061/0.1169, allocations: 1.752 MB / 460.1 MB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006361/0.1232, allocations: 3.573 MB / 463.7 MB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00682/0.1301, allocations: 2.243 MB / 466 MB, free: 8.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3369/0.467, allocations: 12.61 MB / 478.6 MB, free: 34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.467, allocations: 1.281 kB / 478.6 MB, free: 34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.467, allocations: 0 / 478.6 MB, free: 34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006078/0.4676, allocations: 0 / 478.6 MB, free: 34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.03294/0.5005, allocations: 8.122 MB / 486.7 MB, free: 30.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.841e-05/0.5006, allocations: 10.31 kB / 486.7 MB, free: 30.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/0.5227, allocations: 4.261 MB / 491 MB, free: 30.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.5378, allocations: 4.334 MB / 495.3 MB, free: 29.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.5383, allocations: 394.6 kB / 495.7 MB, free: 29.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/0.5414, allocations: 0.5546 MB / 496.2 MB, free: 29.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03756/0.579, allocations: 18.97 MB / 0.5031 GB, free: 21.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.5792, allocations: 71.28 kB / 0.5032 GB, free: 21.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007754/0.5799, allocations: 246.3 kB / 0.5034 GB, free: 21.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005054/0.585, allocations: 3.428 MB / 0.5068 GB, free: 19.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03455/0.6195, allocations: 16.65 MB / 0.523 GB, free: 3.297 MB / 398.1 MB 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.1206/0.7401, allocations: 62.5 MB / 0.5841 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01817/0.7583, allocations: 5.355 MB / 0.5893 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004907/0.7632, allocations: 2.633 MB / 0.5919 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02551/0.7887, allocations: 10.9 MB / 0.6025 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.7888, allocations: 56.56 kB / 0.6026 GB, free: 1.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=284): time 6.843e-06/0.7888, allocations: 0 / 0.6026 GB, free: 1.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=345): time 0.102/0.8908, allocations: 26.34 MB / 0.6283 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001998/0.891, allocations: 199.6 kB / 0.6285 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/0.9028, allocations: 5.981 MB / 0.6343 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/0.9038, allocations: 76.28 kB / 0.6344 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004895/0.9087, allocations: 5.143 MB / 0.6394 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/0.9109, allocations: 1.322 MB / 0.6407 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003467/0.9143, allocations: 1.897 MB / 0.6426 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9145, allocations: 304.9 kB / 0.6429 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00637/0.9209, allocations: 3.376 MB / 0.6462 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/0.9325, allocations: 8.914 MB / 0.6549 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3602/1.293, allocations: 13.2 MB / 0.6678 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002994/1.293, allocations: 55 kB / 0.6678 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03351/1.326, allocations: 13 MB / 0.6805 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/1.327, allocations: 87.28 kB / 0.6806 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002559/1.327, allocations: 191 kB / 0.6808 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/1.331, allocations: 1.322 MB / 0.6821 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/1.339, allocations: 2.227 MB / 0.6842 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/1.351, allocations: 7.598 MB / 0.6917 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/1.361, allocations: 0.6492 MB / 0.6923 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002743/1.364, allocations: 0.5504 MB / 0.6928 GB, free: 173.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01187/1.376, allocations: 3.463 MB / 0.6962 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003252/1.379, allocations: 0.5009 MB / 0.6967 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/1.394, allocations: 5.347 MB / 0.7019 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.155e-05/1.394, allocations: 40 kB / 0.702 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.865e-05/1.394, allocations: 11.94 kB / 0.702 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.466e-05/1.394, allocations: 11.62 kB / 0.702 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03533/1.43, allocations: 11.72 MB / 0.7134 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.808e-05/1.43, allocations: 12.22 kB / 0.7134 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.432, allocations: 0.4953 MB / 0.7139 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003326/1.435, allocations: 0.8112 MB / 0.7147 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004566/1.436, allocations: 64 kB / 0.7148 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008608/1.444, allocations: 5.589 MB / 0.7202 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.444, allocations: 19.88 kB / 0.7203 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.459, allocations: 8.232 MB / 0.7283 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003328/1.463, allocations: 0.8795 MB / 0.7292 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001954/1.464, allocations: 63.98 kB / 0.7292 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/1.468, allocations: 219.2 kB / 0.7294 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/1.469, allocations: 233.2 kB / 0.7296 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/1.469, allocations: 101.8 kB / 0.7297 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007568/1.477, allocations: 3.511 MB / 0.7332 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.477, allocations: 0 / 0.7332 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01138/1.488, allocations: 1.794 MB / 0.7349 GB, free: 133.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/1.49, allocations: 296.6 kB / 0.7352 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01419/1.504, allocations: 7.595 MB / 0.7426 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.151e-05/1.504, allocations: 8.062 kB / 0.7426 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004214/1.508, allocations: 2.209 MB / 0.7448 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006149/1.514, allocations: 0.5851 MB / 0.7454 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03284/1.547, allocations: 15.52 MB / 0.7605 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/1.558, allocations: 4.687 MB / 0.7651 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009179/1.567, allocations: 2.97 MB / 0.768 GB, free: 99.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/1.57, allocations: 380.4 kB / 0.7684 GB, free: 99.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.325e-06/1.57, allocations: 4 kB / 0.7684 GB, free: 99.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.09706/1.667, allocations: 51.54 MB / 0.8187 GB, free: 48.07 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.008725706487894]