Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001363/0.001363, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.001425/0.001425, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.425/1.425, allocations: 177.2 MB / 204.9 MB, free: 8.992 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.215/0.215, allocations: 34.28 MB / 295.5 MB, free: 14.56 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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.89 kB / 443.1 MB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01081/0.3073, allocations: 14.13 MB / 0.511 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008298/0.3156, allocations: 5.115 MB / 0.516 GB, free: 17.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3173, allocations: 117 kB / 0.5161 GB, free: 17.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006673/0.3239, allocations: 4.061 MB / 0.5201 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.3302, allocations: 2.813 MB / 0.5228 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.3329, allocations: 1.265 MB / 0.5241 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.3436, allocations: 7.736 MB / 0.5316 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/0.3498, allocations: 4.721 MB / 0.5362 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.3543, allocations: 2.714 MB / 0.5389 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004929/0.3592, allocations: 3.856 MB / 0.5427 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.3605, allocations: 0.5942 MB / 0.5432 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.3637, allocations: 1.655 MB / 0.5449 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00236/0.3661, allocations: 3.373 MB / 0.5481 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003243/0.3693, allocations: 2.792 MB / 0.5509 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.3838, allocations: 12.41 MB / 0.563 GB, free: 2.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3838, allocations: 0 / 0.563 GB, free: 2.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3838, allocations: 0 / 0.563 GB, free: 2.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002438/0.384, allocations: 0 / 0.563 GB, free: 2.195 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01555/0.3996, allocations: 7.982 MB / 0.5708 GB, free: 10.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3996, allocations: 8.031 kB / 0.5708 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.4163, allocations: 4.266 MB / 0.575 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009192/0.4255, allocations: 4.198 MB / 0.5791 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.4259, allocations: 397.9 kB / 0.5794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.4273, allocations: 0.5465 MB / 0.58 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03645/0.4638, allocations: 18.99 MB / 0.5985 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002569/0.4641, allocations: 71.45 kB / 0.5986 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001433/0.4655, allocations: 247.8 kB / 0.5988 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006308/0.4718, allocations: 3.428 MB / 0.6022 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03895/0.5107, allocations: 16.64 MB / 0.6184 GB, free: 8.199 MB / 0.5137 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.09976/0.6105, allocations: 61.9 MB / 0.6789 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.6276, allocations: 5.352 MB / 0.6841 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004887/0.6325, allocations: 2.647 MB / 0.6867 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4651/1.098, allocations: 10.72 MB / 0.6971 GB, free: 142 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/1.098, allocations: 66.88 kB / 0.6972 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=284): time 5.851e-06/1.098, allocations: 0 / 0.6972 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=345): time 0.08378/1.181, allocations: 25.93 MB / 0.7225 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/1.181, allocations: 190.8 kB / 0.7227 GB, free: 134.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007352/1.189, allocations: 5.608 MB / 0.7282 GB, free: 132.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008122/1.19, allocations: 72.17 kB / 0.7283 GB, free: 132.1 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003093/1.193, allocations: 5.185 MB / 0.7333 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.194, allocations: 1.337 MB / 0.7346 GB, free: 127.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/1.196, allocations: 1.929 MB / 0.7365 GB, free: 126.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/1.196, allocations: 305.1 kB / 0.7368 GB, free: 126 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004168/1.2, allocations: 3.375 MB / 0.7401 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005928/1.206, allocations: 8.922 MB / 0.7488 GB, free: 116.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.217, allocations: 13.21 MB / 0.7617 GB, free: 103.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/1.217, allocations: 56 kB / 0.7618 GB, free: 103.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02133/1.238, allocations: 13.01 MB / 0.7745 GB, free: 92.02 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/1.239, allocations: 88 kB / 0.7746 GB, free: 91.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002383/1.239, allocations: 192 kB / 0.7747 GB, free: 91.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/1.243, allocations: 1.329 MB / 0.776 GB, free: 90.43 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006601/1.249, allocations: 2.219 MB / 0.7782 GB, free: 88.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.26, allocations: 7.606 MB / 0.7856 GB, free: 80.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007434/1.267, allocations: 0.5464 MB / 0.7862 GB, free: 79.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.268, allocations: 0.5508 MB / 0.7867 GB, free: 79.4 MB / 0.5763 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.005593/1.274, allocations: 3.452 MB / 0.7901 GB, free: 75.94 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.275, allocations: 0.5122 MB / 0.7906 GB, free: 75.42 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/1.286, allocations: 5.34 MB / 0.7958 GB, free: 70.02 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-05/1.286, allocations: 36 kB / 0.7958 GB, free: 69.99 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/1.286, allocations: 11.94 kB / 0.7958 GB, free: 69.98 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/1.286, allocations: 11.95 kB / 0.7959 GB, free: 69.96 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02485/1.311, allocations: 11.59 MB / 0.8072 GB, free: 58.22 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/1.311, allocations: 12 kB / 0.8072 GB, free: 58.21 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002084/1.313, allocations: 0.4922 MB / 0.8077 GB, free: 57.72 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/1.316, allocations: 0.8163 MB / 0.8085 GB, free: 56.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/1.316, allocations: 71.98 kB / 0.8085 GB, free: 56.83 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008059/1.324, allocations: 5.577 MB / 0.814 GB, free: 51.16 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.324, allocations: 15.94 kB / 0.814 GB, free: 51.14 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.337, allocations: 8.274 MB / 0.8221 GB, free: 42.58 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.339, allocations: 468.5 kB / 0.8225 GB, free: 42.12 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.34, allocations: 63.98 kB / 0.8226 GB, free: 42.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.342, allocations: 151.8 kB / 0.8227 GB, free: 41.91 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004262/1.343, allocations: 233.3 kB / 0.8229 GB, free: 41.68 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/1.343, allocations: 106.1 kB / 0.823 GB, free: 41.58 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004978/1.348, allocations: 3.222 MB / 0.8262 GB, free: 38.38 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/1.348, allocations: 0 / 0.8262 GB, free: 38.38 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008122/1.356, allocations: 1.613 MB / 0.8278 GB, free: 36.76 MB / 0.5763 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.0006833/1.357, allocations: 263.4 kB / 0.828 GB, free: 36.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.368, allocations: 7.611 MB / 0.8355 GB, free: 28.91 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.368, allocations: 4 kB / 0.8355 GB, free: 28.91 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003345/1.371, allocations: 2.204 MB / 0.8376 GB, free: 26.68 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/1.376, allocations: 0.5909 MB / 0.8382 GB, free: 26.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/1.402, allocations: 15.55 MB / 0.8534 GB, free: 10.35 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008037/1.41, allocations: 4.68 MB / 0.8579 GB, free: 5.625 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006645/1.417, allocations: 2.904 MB / 0.8608 GB, free: 2.715 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.418, allocations: 356.5 kB / 0.8611 GB, free: 2.363 MB / 0.5763 GB Notification: Performance of SimCode: time 1.322e-06/1.418, allocations: 7.875 kB / 0.8611 GB, free: 2.355 MB / 0.5763 GB Notification: Performance of Templates: time 0.109/1.527, allocations: 48.97 MB / 0.9089 GB, free: 2.203 MB / 0.6232 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 8.459963776986115]