Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, allocations: 117.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002265, allocations: 200.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 72.06 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4292, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.035/0.4643, allocations: 16.24 MB / 0.5468 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02324/0.4876, allocations: 5.355 MB / 0.5521 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006589/0.4942, allocations: 99.75 kB / 0.5522 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.5088, allocations: 4.147 MB / 0.5562 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01316/0.522, allocations: 2.712 MB / 0.5589 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005621/0.5276, allocations: 1.263 MB / 0.5601 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01833/0.546, allocations: 7.729 MB / 0.5676 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.5586, allocations: 5.85 MB / 0.5734 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007232/0.5659, allocations: 2.667 MB / 0.576 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009199/0.5751, allocations: 3.774 MB / 0.5796 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002737/0.5779, allocations: 0.5938 MB / 0.5802 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006189/0.5841, allocations: 1.752 MB / 0.5819 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005953/0.5901, allocations: 3.304 MB / 0.5852 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009994/0.6002, allocations: 3.764 MB / 0.5888 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02417/0.6244, allocations: 12.3 MB / 0.6009 GB, free: 9.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.6245, allocations: 0 / 0.6009 GB, free: 9.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6245, allocations: 3.938 kB / 0.6009 GB, free: 9.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000441/0.6249, allocations: 0 / 0.6009 GB, free: 9.902 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.03351/0.6585, allocations: 7.836 MB / 0.6085 GB, free: 1.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.6585, allocations: 12.03 kB / 0.6085 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0306/0.6892, allocations: 3.938 MB / 0.6124 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/0.7066, allocations: 4.244 MB / 0.6165 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007018/0.7074, allocations: 398 kB / 0.6169 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003539/0.711, allocations: 0.5464 MB / 0.6174 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05415/0.7651, allocations: 18.88 MB / 0.6359 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/0.7654, allocations: 71.36 kB / 0.6359 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006453/0.766, allocations: 251.7 kB / 0.6362 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005032/0.7711, allocations: 3.444 MB / 0.6395 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/0.806, allocations: 16.62 MB / 0.6558 GB, free: 448 kB / 0.4981 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.4634/1.269, allocations: 66.58 MB / 0.7208 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/1.286, allocations: 6.273 MB / 0.7269 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003949/1.29, allocations: 2.845 MB / 0.7297 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/1.308, allocations: 13.93 MB / 0.7433 GB, free: 138 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/1.308, allocations: 60.62 kB / 0.7434 GB, free: 138 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 6.241e-06/1.308, allocations: 3.719 kB / 0.7434 GB, free: 138 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.0773/1.386, allocations: 24.84 MB / 0.7676 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/1.386, allocations: 191.5 kB / 0.7678 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007666/1.393, allocations: 5.884 MB / 0.7735 GB, free: 117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004968/1.394, allocations: 77.7 kB / 0.7736 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.396, allocations: 4.947 MB / 0.7785 GB, free: 112 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.397, allocations: 1.284 MB / 0.7797 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00208/1.399, allocations: 1.908 MB / 0.7816 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/1.399, allocations: 301.1 kB / 0.7819 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/1.403, allocations: 3.369 MB / 0.7851 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005749/1.409, allocations: 8.876 MB / 0.7938 GB, free: 93.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.42, allocations: 13.19 MB / 0.8067 GB, free: 77.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/1.42, allocations: 56 kB / 0.8067 GB, free: 77.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0208/1.441, allocations: 13 MB / 0.8194 GB, free: 64.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/1.441, allocations: 88 kB / 0.8195 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.441, allocations: 204 kB / 0.8197 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/1.445, allocations: 1.314 MB / 0.821 GB, free: 63.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006653/1.452, allocations: 2.211 MB / 0.8232 GB, free: 60.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.462, allocations: 7.845 MB / 0.8308 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006464/1.468, allocations: 0.4955 MB / 0.8313 GB, free: 52.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/1.47, allocations: 0.5609 MB / 0.8318 GB, free: 51.88 MB / 0.5606 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.004807/1.474, allocations: 3.447 MB / 0.8352 GB, free: 48.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009003/1.475, allocations: 0.5206 MB / 0.8357 GB, free: 47.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009608/1.485, allocations: 5.411 MB / 0.841 GB, free: 42.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/1.485, allocations: 36 kB / 0.841 GB, free: 42.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.485, allocations: 8 kB / 0.8411 GB, free: 42.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-05/1.485, allocations: 15.94 kB / 0.8411 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/1.51, allocations: 13.92 MB / 0.8547 GB, free: 28.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/1.51, allocations: 16.06 kB / 0.8547 GB, free: 28.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/1.512, allocations: 0.4979 MB / 0.8552 GB, free: 27.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003042/1.515, allocations: 0.813 MB / 0.856 GB, free: 26.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/1.515, allocations: 67.98 kB / 0.856 GB, free: 26.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007882/1.523, allocations: 5.811 MB / 0.8617 GB, free: 20.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.523, allocations: 15.94 kB / 0.8617 GB, free: 20.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.535, allocations: 8.296 MB / 0.8698 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.536, allocations: 0.5645 MB / 0.8704 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006224/1.537, allocations: 67.98 kB / 0.8704 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/1.539, allocations: 131.5 kB / 0.8706 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/1.539, allocations: 225.4 kB / 0.8708 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.54, allocations: 104 kB / 0.8709 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004957/1.545, allocations: 3.646 MB / 0.8744 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/1.545, allocations: 0 / 0.8744 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01035/1.555, allocations: 1.629 MB / 0.876 GB, free: 5.941 MB / 0.5606 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.0008374/1.556, allocations: 258.2 kB / 0.8763 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.568, allocations: 7.947 MB / 0.884 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/1.568, allocations: 0 / 0.884 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003939/1.572, allocations: 2.387 MB / 0.8864 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/1.576, allocations: 0.7049 MB / 0.887 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/1.602, allocations: 15.21 MB / 0.9019 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007583/1.61, allocations: 5.152 MB / 0.9069 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007247/1.617, allocations: 2.958 MB / 0.9098 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/1.619, allocations: 383.4 kB / 0.9102 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/1.619, allocations: 4 kB / 0.9102 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of Templates: time 0.3964/2.015, allocations: 55.6 MB / 0.9645 GB, free: 217.1 MB / 0.6387 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches