Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, 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.2155/0.2155, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002185, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4579, allocations: 62.43 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01902/0.477, allocations: 15.97 MB / 0.5466 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.4921, allocations: 5.451 MB / 0.5519 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/0.497, allocations: 111.6 kB / 0.552 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.5074, allocations: 5.113 MB / 0.557 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009754/0.5172, allocations: 2.583 MB / 0.5595 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.5216, allocations: 1.388 MB / 0.5609 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.5374, allocations: 8.252 MB / 0.5689 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.5504, allocations: 7.028 MB / 0.5758 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007087/0.5575, allocations: 2.769 MB / 0.5785 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007611/0.5652, allocations: 3.739 MB / 0.5822 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002796/0.568, allocations: 0.6328 MB / 0.5828 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005501/0.5735, allocations: 1.771 MB / 0.5845 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005561/0.5791, allocations: 3.308 MB / 0.5877 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008556/0.5877, allocations: 3.687 MB / 0.5913 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.6078, allocations: 11.96 MB / 0.603 GB, free: 7.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6078, allocations: 3.844 kB / 0.603 GB, free: 7.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6078, allocations: 4 kB / 0.603 GB, free: 7.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005339/0.6084, allocations: 0 / 0.603 GB, free: 7.816 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03152/0.6399, allocations: 8.077 MB / 0.6109 GB, free: 15.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.113e-05/0.64, allocations: 12.03 kB / 0.6109 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/0.6567, allocations: 3.089 MB / 0.6139 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/0.6717, allocations: 5.063 MB / 0.6189 GB, free: 7.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/0.6722, allocations: 386.2 kB / 0.6193 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00269/0.6749, allocations: 0.5074 MB / 0.6197 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03524/0.7101, allocations: 15.53 MB / 0.6349 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003578/0.7105, allocations: 67.45 kB / 0.635 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/0.7126, allocations: 235.8 kB / 0.6352 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004398/0.717, allocations: 2.552 MB / 0.6377 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03053/0.7476, allocations: 13.1 MB / 0.6505 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09152/0.8391, allocations: 57.42 MB / 0.7066 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/0.8579, allocations: 6.388 MB / 0.7128 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005129/0.8631, allocations: 3.45 MB / 0.7162 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3433/1.206, allocations: 11.67 MB / 0.7276 GB, free: 158 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/1.207, allocations: 56.78 kB / 0.7276 GB, free: 158 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 4.97e-06/1.207, allocations: 0.8438 kB / 0.7276 GB, free: 158 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1241/1.331, allocations: 39.46 MB / 0.7662 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/1.331, allocations: 247.8 kB / 0.7664 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006708/1.338, allocations: 5.715 MB / 0.772 GB, free: 124 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008524/1.338, allocations: 77.7 kB / 0.772 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002449/1.341, allocations: 4.504 MB / 0.7764 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.342, allocations: 1.321 MB / 0.7777 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/1.344, allocations: 1.762 MB / 0.7795 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/1.344, allocations: 305.1 kB / 0.7797 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004419/1.348, allocations: 4.097 MB / 0.7837 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006122/1.355, allocations: 8.678 MB / 0.7922 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/1.368, allocations: 13.57 MB / 0.8055 GB, free: 85.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.368, allocations: 48 kB / 0.8055 GB, free: 85.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02718/1.395, allocations: 16.41 MB / 0.8215 GB, free: 69.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/1.395, allocations: 72 kB / 0.8216 GB, free: 69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/1.395, allocations: 164.8 kB / 0.8218 GB, free: 68.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/1.408, allocations: 4.271 MB / 0.8259 GB, free: 64.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006572/1.415, allocations: 1.907 MB / 0.8278 GB, free: 62.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/1.442, allocations: 21.55 MB / 0.8489 GB, free: 40.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007755/1.449, allocations: 0.5111 MB / 0.8494 GB, free: 40.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00206/1.451, allocations: 480 kB / 0.8498 GB, free: 39.99 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * Array equations: 3 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007361/1.459, allocations: 3.126 MB / 0.8529 GB, free: 36.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.461, allocations: 0.5394 MB / 0.8534 GB, free: 36.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.48, allocations: 10.12 MB / 0.8633 GB, free: 26.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.728e-05/1.48, allocations: 39.67 kB / 0.8633 GB, free: 26.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/1.48, allocations: 16 kB / 0.8633 GB, free: 26.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-05/1.48, allocations: 15.94 kB / 0.8633 GB, free: 26.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0347/1.515, allocations: 20.04 MB / 0.8829 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/1.515, allocations: 8 kB / 0.8829 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.517, allocations: 0.4992 MB / 0.8834 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/1.529, allocations: 3.833 MB / 0.8872 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007237/1.529, allocations: 75.98 kB / 0.8872 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03075/1.56, allocations: 19.1 MB / 0.9059 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/1.56, allocations: 8 kB / 0.9059 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03133/1.592, allocations: 14.95 MB / 0.9205 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.594, allocations: 0.595 MB / 0.9211 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00186/1.595, allocations: 67.11 kB / 0.9211 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004064/1.6, allocations: 235.6 kB / 0.9214 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/1.601, allocations: 226.2 kB / 0.9216 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005465/1.601, allocations: 99.98 kB / 0.9217 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007504/1.609, allocations: 3.6 MB / 0.9252 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.01e-07/1.609, allocations: 4 kB / 0.9252 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00991/1.619, allocations: 1.758 MB / 0.9269 GB, free: 8.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * Array equations: 3 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/1.62, allocations: 258 kB / 0.9271 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0175/1.637, allocations: 9.864 MB / 0.9368 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.638, allocations: 4.125 kB / 0.9368 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00664/1.644, allocations: 3.788 MB / 0.9405 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00691/1.651, allocations: 0.7376 MB / 0.9412 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3742/2.025, allocations: 16.08 MB / 0.9569 GB, free: 204.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/2.037, allocations: 4.827 MB / 0.9616 GB, free: 203.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007479/2.044, allocations: 2.577 MB / 0.9641 GB, free: 203.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/2.046, allocations: 350.8 kB / 0.9645 GB, free: 203.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.142e-06/2.046, allocations: 0 / 0.9645 GB, free: 203.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.1223/2.169, allocations: 74.59 MB / 1.037 GB, free: 141.6 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches