Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 111.3 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 186.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1961/0.1961, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.351, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01681/0.3679, allocations: 16.29 MB / 0.5355 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.3813, allocations: 5.339 MB / 0.5407 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/0.3854, allocations: 97.56 kB / 0.5408 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008535/0.394, allocations: 4.172 MB / 0.5448 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008128/0.4022, allocations: 2.752 MB / 0.5475 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.4056, allocations: 1.261 MB / 0.5488 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.4169, allocations: 7.606 MB / 0.5562 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008683/0.4256, allocations: 5.846 MB / 0.5619 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.4307, allocations: 2.679 MB / 0.5645 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00643/0.4372, allocations: 3.782 MB / 0.5682 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00265/0.4398, allocations: 0.5938 MB / 0.5688 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.4446, allocations: 1.764 MB / 0.5705 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004697/0.4493, allocations: 3.335 MB / 0.5738 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0079/0.4572, allocations: 3.803 MB / 0.5775 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.4732, allocations: 12.38 MB / 0.5896 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4733, allocations: 0 / 0.5896 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4733, allocations: 0 / 0.5896 GB, free: 4.113 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003973/0.4737, allocations: 0 / 0.5896 GB, free: 4.113 MB / 446.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.01798/0.4917, allocations: 7.882 MB / 0.5973 GB, free: 12.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4917, allocations: 8.031 kB / 0.5973 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.5077, allocations: 3.945 MB / 0.6011 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009207/0.517, allocations: 4.315 MB / 0.6053 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.5174, allocations: 394 kB / 0.6057 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002173/0.5196, allocations: 0.558 MB / 0.6063 GB, free: 2.852 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/0.5553, allocations: 18.87 MB / 0.6247 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.5555, allocations: 67.31 kB / 0.6248 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.5568, allocations: 251.7 kB / 0.625 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005136/0.5619, allocations: 3.436 MB / 0.6283 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/0.5967, allocations: 16.63 MB / 0.6446 GB, free: 10.53 MB / 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.08956/0.6863, allocations: 66.59 MB / 0.7096 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4915/1.178, allocations: 6.268 MB / 0.7157 GB, free: 164.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005015/1.183, allocations: 2.836 MB / 0.7185 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0222/1.205, allocations: 13.85 MB / 0.732 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.205, allocations: 68.19 kB / 0.7321 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.742e-06/1.205, allocations: 0 / 0.7321 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07747/1.283, allocations: 25.03 MB / 0.7565 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.283, allocations: 184.3 kB / 0.7567 GB, free: 146.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006552/1.289, allocations: 5.876 MB / 0.7625 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005919/1.29, allocations: 81.64 kB / 0.7625 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/1.292, allocations: 4.957 MB / 0.7674 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.293, allocations: 1.285 MB / 0.7686 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/1.295, allocations: 1.908 MB / 0.7705 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/1.295, allocations: 305.1 kB / 0.7708 GB, free: 131.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003979/1.299, allocations: 3.353 MB / 0.7741 GB, free: 128.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005852/1.305, allocations: 8.878 MB / 0.7827 GB, free: 116.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.317, allocations: 13.18 MB / 0.7956 GB, free: 101 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/1.317, allocations: 56 kB / 0.7957 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02315/1.34, allocations: 12.99 MB / 0.8083 GB, free: 87.91 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/1.34, allocations: 88 kB / 0.8084 GB, free: 87.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002297/1.34, allocations: 192 kB / 0.8086 GB, free: 87.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003784/1.344, allocations: 1.325 MB / 0.8099 GB, free: 86.31 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006563/1.351, allocations: 2.203 MB / 0.812 GB, free: 84.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.361, allocations: 7.835 MB / 0.8197 GB, free: 76.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006716/1.368, allocations: 0.5072 MB / 0.8202 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/1.37, allocations: 0.5547 MB / 0.8207 GB, free: 75.07 MB / 0.5607 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.376, allocations: 3.461 MB / 0.8241 GB, free: 71.6 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009874/1.377, allocations: 0.5206 MB / 0.8246 GB, free: 71.07 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009522/1.386, allocations: 5.404 MB / 0.8299 GB, free: 65.61 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/1.386, allocations: 36 kB / 0.8299 GB, free: 65.57 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.386, allocations: 12 kB / 0.8299 GB, free: 65.56 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/1.386, allocations: 15.94 kB / 0.83 GB, free: 65.55 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.41, allocations: 13.91 MB / 0.8436 GB, free: 51.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/1.41, allocations: 12 kB / 0.8436 GB, free: 51.41 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.412, allocations: 0.4915 MB / 0.844 GB, free: 50.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/1.415, allocations: 0.809 MB / 0.8448 GB, free: 50.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003289/1.415, allocations: 68 kB / 0.8449 GB, free: 50.04 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007665/1.423, allocations: 5.812 MB / 0.8506 GB, free: 44.09 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.423, allocations: 20 kB / 0.8506 GB, free: 44.07 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.435, allocations: 8.292 MB / 0.8587 GB, free: 35.48 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.436, allocations: 0.5684 MB / 0.8592 GB, free: 34.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007479/1.437, allocations: 63.98 kB / 0.8593 GB, free: 34.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.439, allocations: 131.9 kB / 0.8594 GB, free: 34.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004214/1.439, allocations: 221 kB / 0.8596 GB, free: 34.48 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.439, allocations: 104 kB / 0.8597 GB, free: 34.38 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004721/1.444, allocations: 3.654 MB / 0.8633 GB, free: 30.76 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.21e-07/1.444, allocations: 4 kB / 0.8633 GB, free: 30.75 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007319/1.452, allocations: 1.643 MB / 0.8649 GB, free: 29.12 MB / 0.5607 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.000709/1.452, allocations: 273.5 kB / 0.8652 GB, free: 28.86 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.463, allocations: 7.93 MB / 0.8729 GB, free: 20.96 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.463, allocations: 4 kB / 0.8729 GB, free: 20.95 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.466, allocations: 2.373 MB / 0.8752 GB, free: 18.56 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/1.47, allocations: 0.6972 MB / 0.8759 GB, free: 17.87 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/1.493, allocations: 15.94 MB / 0.8915 GB, free: 1.746 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006206/1.5, allocations: 5.153 MB / 0.8965 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/1.501, allocations: 451.4 kB / 0.897 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of SimCode: time 1.002e-06/1.501, allocations: 0 / 0.897 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of Templates: time 0.4241/1.925, allocations: 127 MB / 1.021 GB, free: 150.2 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches