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.001344/0.001344, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 79.81 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2817, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0148/0.2965, allocations: 15.98 MB / 0.5473 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3067, allocations: 5.454 MB / 0.5526 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.3092, allocations: 111.6 kB / 0.5527 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008259/0.3175, allocations: 5.121 MB / 0.5577 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.3238, allocations: 2.656 MB / 0.5603 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.3264, allocations: 1.381 MB / 0.5616 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009775/0.3362, allocations: 8.251 MB / 0.5697 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007489/0.3437, allocations: 7.026 MB / 0.5765 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.348, allocations: 2.769 MB / 0.5792 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004838/0.3528, allocations: 3.755 MB / 0.5829 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.3544, allocations: 0.6328 MB / 0.5835 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.3593, allocations: 1.775 MB / 0.5853 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004013/0.3633, allocations: 3.359 MB / 0.5885 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005332/0.3686, allocations: 3.687 MB / 0.5921 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.3819, allocations: 11.92 MB / 0.6038 GB, free: 7.637 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.382, allocations: 0 / 0.6038 GB, free: 7.637 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.382, allocations: 0 / 0.6038 GB, free: 7.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000384/0.3824, allocations: 0 / 0.6038 GB, free: 7.637 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.01884/0.4012, allocations: 7.885 MB / 0.6115 GB, free: 15.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4013, allocations: 12.03 kB / 0.6115 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.4148, allocations: 3.053 MB / 0.6145 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.4252, allocations: 5.041 MB / 0.6194 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.4256, allocations: 378.2 kB / 0.6198 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/0.4273, allocations: 0.5151 MB / 0.6203 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02808/0.4554, allocations: 15.53 MB / 0.6354 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.4557, allocations: 63.42 kB / 0.6355 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001486/0.4572, allocations: 235.8 kB / 0.6357 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00375/0.4609, allocations: 2.544 MB / 0.6382 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.4858, allocations: 13.11 MB / 0.651 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07141/0.5573, allocations: 57.3 MB / 0.707 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.5735, allocations: 6.391 MB / 0.7132 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00446/0.578, allocations: 3.447 MB / 0.7166 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2382/0.8162, allocations: 11.63 MB / 0.7279 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.8163, allocations: 66.53 kB / 0.728 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 4.749e-06/0.8163, allocations: 0 / 0.728 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1149/0.9312, allocations: 39.14 MB / 0.7662 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.9313, allocations: 243.8 kB / 0.7664 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006972/0.9383, allocations: 5.702 MB / 0.772 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006807/0.939, allocations: 81.7 kB / 0.7721 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.9408, allocations: 4.342 MB / 0.7763 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001572/0.9424, allocations: 1.261 MB / 0.7776 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/0.9452, allocations: 1.749 MB / 0.7793 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.9453, allocations: 309.1 kB / 0.7796 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005007/0.9503, allocations: 4.089 MB / 0.7836 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006263/0.9566, allocations: 8.675 MB / 0.792 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.9688, allocations: 13.57 MB / 0.8053 GB, free: 85.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/0.969, allocations: 44 kB / 0.8053 GB, free: 85.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02852/0.9975, allocations: 16.39 MB / 0.8213 GB, free: 69.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.9977, allocations: 72 kB / 0.8214 GB, free: 69.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.9979, allocations: 160 kB / 0.8215 GB, free: 69.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/1.01, allocations: 4.28 MB / 0.8257 GB, free: 64.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/1.016, allocations: 1.903 MB / 0.8276 GB, free: 62.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/1.041, allocations: 21.54 MB / 0.8486 GB, free: 41.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/1.047, allocations: 0.4993 MB / 0.8491 GB, free: 40.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/1.049, allocations: 491.4 kB / 0.8496 GB, free: 40.27 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.004754/1.053, allocations: 3.126 MB / 0.8526 GB, free: 37.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.055, allocations: 0.5129 MB / 0.8531 GB, free: 36.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.073, allocations: 10.12 MB / 0.863 GB, free: 26.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/1.073, allocations: 32 kB / 0.863 GB, free: 26.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-05/1.073, allocations: 16 kB / 0.8631 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-05/1.073, allocations: 15.94 kB / 0.8631 GB, free: 26.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03538/1.109, allocations: 20.05 MB / 0.8826 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.374e-05/1.109, allocations: 4 kB / 0.8827 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/1.111, allocations: 0.5032 MB / 0.8831 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/1.122, allocations: 3.837 MB / 0.8869 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006494/1.123, allocations: 67.98 kB / 0.887 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02757/1.15, allocations: 19.08 MB / 0.9056 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.15, allocations: 8 kB / 0.9056 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02847/1.179, allocations: 14.92 MB / 0.9202 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.18, allocations: 0.5841 MB / 0.9207 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/1.182, allocations: 60 kB / 0.9208 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.185, allocations: 231.6 kB / 0.921 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009035/1.186, allocations: 226.2 kB / 0.9212 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004504/1.186, allocations: 91.98 kB / 0.9213 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006169/1.192, allocations: 3.6 MB / 0.9248 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.21e-07/1.192, allocations: 0 / 0.9248 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008053/1.2, allocations: 1.765 MB / 0.9266 GB, free: 8.848 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.001112/1.201, allocations: 251.9 kB / 0.9268 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0166/1.218, allocations: 9.86 MB / 0.9364 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.218, allocations: 4.75 kB / 0.9364 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006513/1.225, allocations: 3.785 MB / 0.9401 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006037/1.231, allocations: 0.7279 MB / 0.9408 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.247/1.478, allocations: 16.49 MB / 0.9569 GB, free: 204.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00511/1.483, allocations: 4.79 MB / 0.9616 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.484, allocations: 415.3 kB / 0.962 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/1.484, allocations: 0 / 0.962 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.12/1.604, allocations: 123.4 MB / 1.083 GB, free: 96.58 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches