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.001235/0.001235, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 73.31 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1306, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01782/0.1485, allocations: 16.23 MB / 497.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1614, allocations: 5.357 MB / 0.4913 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003543/0.165, allocations: 95.75 kB / 0.4914 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008322/0.1734, allocations: 4.162 MB / 0.4954 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008334/0.1818, allocations: 2.7 MB / 0.4981 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.1852, allocations: 1.271 MB / 0.4993 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2755/0.4606, allocations: 7.711 MB / 0.5068 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009027/0.4697, allocations: 5.849 MB / 0.5125 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.4747, allocations: 2.669 MB / 0.5151 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/0.481, allocations: 3.771 MB / 0.5188 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001751/0.4828, allocations: 0.5929 MB / 0.5194 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.4867, allocations: 1.748 MB / 0.5211 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003455/0.4901, allocations: 3.28 MB / 0.5243 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004159/0.4943, allocations: 3.761 MB / 0.528 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.5056, allocations: 12.3 MB / 0.54 GB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5056, allocations: 0 / 0.54 GB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5056, allocations: 0 / 0.54 GB, free: 3.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003423/0.506, allocations: 3.375 kB / 0.54 GB, free: 3.016 MB / 382.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.01983/0.5258, allocations: 7.837 MB / 0.5477 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5259, allocations: 9.375 kB / 0.5477 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/0.541, allocations: 3.944 MB / 0.5515 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.5507, allocations: 4.234 MB / 0.5556 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.5511, allocations: 400.1 kB / 0.556 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.5532, allocations: 0.5557 MB / 0.5566 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03907/0.5923, allocations: 18.88 MB / 0.575 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004596/0.5928, allocations: 70.36 kB / 0.5751 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002528/0.5954, allocations: 248.9 kB / 0.5753 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005567/0.601, allocations: 3.442 MB / 0.5787 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0356/0.6366, allocations: 16.63 MB / 0.5949 GB, free: 13.65 MB / 446.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.09085/0.7275, allocations: 66.58 MB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/0.743, allocations: 6.275 MB / 0.6661 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/0.7469, allocations: 2.843 MB / 0.6688 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/0.7678, allocations: 13.93 MB / 0.6824 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.7679, allocations: 59.94 kB / 0.6825 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 4.999e-06/0.7679, allocations: 0 / 0.6825 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=345): time 0.07749/0.8454, allocations: 24.84 MB / 0.7068 GB, free: 9.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.8455, allocations: 187.2 kB / 0.7069 GB, free: 9.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008007/0.8535, allocations: 5.88 MB / 0.7127 GB, free: 3.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000705/0.8543, allocations: 73.7 kB / 0.7128 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.265/1.119, allocations: 4.948 MB / 0.7176 GB, free: 188.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002023/1.121, allocations: 1.283 MB / 0.7188 GB, free: 187.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003803/1.125, allocations: 1.907 MB / 0.7207 GB, free: 187.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/1.125, allocations: 302.8 kB / 0.721 GB, free: 187.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005847/1.131, allocations: 3.361 MB / 0.7243 GB, free: 186.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008094/1.139, allocations: 8.881 MB / 0.7329 GB, free: 177.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/1.154, allocations: 13.18 MB / 0.7458 GB, free: 166.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003299/1.155, allocations: 54.75 kB / 0.7459 GB, free: 166.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02814/1.183, allocations: 13.01 MB / 0.7586 GB, free: 161.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/1.183, allocations: 85.62 kB / 0.7587 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002905/1.183, allocations: 194.4 kB / 0.7588 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004158/1.187, allocations: 1.324 MB / 0.7601 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007554/1.195, allocations: 2.209 MB / 0.7623 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.205, allocations: 7.844 MB / 0.77 GB, free: 156.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/1.213, allocations: 0.4968 MB / 0.7704 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/1.215, allocations: 0.5597 MB / 0.771 GB, free: 155.2 MB / 0.545 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.005983/1.221, allocations: 3.455 MB / 0.7744 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009901/1.222, allocations: 0.5244 MB / 0.7749 GB, free: 151.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009418/1.231, allocations: 5.394 MB / 0.7801 GB, free: 147.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/1.231, allocations: 47.98 kB / 0.7802 GB, free: 147.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.231, allocations: 8 kB / 0.7802 GB, free: 147.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/1.231, allocations: 20.59 kB / 0.7802 GB, free: 147.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/1.257, allocations: 13.9 MB / 0.7938 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/1.257, allocations: 12 kB / 0.7938 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/1.259, allocations: 0.4988 MB / 0.7943 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/1.262, allocations: 0.8162 MB / 0.7951 GB, free: 133.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003489/1.262, allocations: 74.34 kB / 0.7952 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007583/1.27, allocations: 5.813 MB / 0.8008 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.27, allocations: 19.94 kB / 0.8009 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.281, allocations: 8.297 MB / 0.809 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/1.283, allocations: 0.5567 MB / 0.8095 GB, free: 118.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007735/1.284, allocations: 67.66 kB / 0.8096 GB, free: 118 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.286, allocations: 139.8 kB / 0.8097 GB, free: 117.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/1.286, allocations: 217.5 kB / 0.8099 GB, free: 117.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.286, allocations: 100.8 kB / 0.81 GB, free: 117.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005052/1.291, allocations: 3.648 MB / 0.8136 GB, free: 114 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/1.291, allocations: 0 / 0.8136 GB, free: 114 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009191/1.301, allocations: 1.626 MB / 0.8151 GB, free: 112.4 MB / 0.545 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.0009726/1.302, allocations: 265.7 kB / 0.8154 GB, free: 112.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.314, allocations: 7.94 MB / 0.8232 GB, free: 104.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/1.314, allocations: 4 kB / 0.8232 GB, free: 104.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003553/1.318, allocations: 2.385 MB / 0.8255 GB, free: 101.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00588/1.323, allocations: 0.7119 MB / 0.8262 GB, free: 101.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.347, allocations: 15.19 MB / 0.841 GB, free: 85.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006105/1.353, allocations: 5.156 MB / 0.8461 GB, free: 80.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005921/1.359, allocations: 2.962 MB / 0.8489 GB, free: 77.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.361, allocations: 383.4 kB / 0.8493 GB, free: 77.19 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.361, allocations: 0 / 0.8493 GB, free: 77.19 MB / 0.545 GB Notification: Performance of Templates: time 0.0886/1.449, allocations: 52.59 MB / 0.9007 GB, free: 25.04 MB / 0.545 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches