Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 113.2 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.001385/0.001385, allocations: 203.7 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 46.13 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3461, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01245/0.3586, allocations: 9.581 MB / 0.5399 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008754/0.3674, allocations: 3.43 MB / 0.5433 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.3692, allocations: 50.47 kB / 0.5433 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004985/0.3742, allocations: 2.597 MB / 0.5459 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.376, allocations: 0.5867 MB / 0.5465 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.3779, allocations: 0.721 MB / 0.5472 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.3803, allocations: 1.572 MB / 0.5487 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.3844, allocations: 3.282 MB / 0.5519 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.3863, allocations: 0.9972 MB / 0.5529 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.3882, allocations: 1.301 MB / 0.5541 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.3887, allocations: 276 kB / 0.5544 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.3908, allocations: 1.018 MB / 0.5554 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.3921, allocations: 1.161 MB / 0.5565 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.3938, allocations: 1.368 MB / 0.5579 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.3998, allocations: 4.675 MB / 0.5624 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3998, allocations: 0 / 0.5624 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3998, allocations: 0 / 0.5624 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.3999, allocations: 0 / 0.5624 GB, free: 0.9688 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007341/0.4073, allocations: 2.99 MB / 0.5654 GB, free: 13.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4073, allocations: 8.031 kB / 0.5654 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005927/0.4079, allocations: 431 kB / 0.5658 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.4093, allocations: 374.8 kB / 0.5661 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.4117, allocations: 1.307 MB / 0.5674 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.4118, allocations: 168.2 kB / 0.5676 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/0.4123, allocations: 215.9 kB / 0.5678 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.4264, allocations: 6.488 MB / 0.5741 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.296e-05/0.4265, allocations: 15.88 kB / 0.5741 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.4267, allocations: 99.92 kB / 0.5742 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/0.4279, allocations: 0.8046 MB / 0.575 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.4411, allocations: 5.473 MB / 0.5804 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02747/0.4686, allocations: 19.01 MB / 0.5989 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007774/0.4765, allocations: 1.824 MB / 0.6007 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.4777, allocations: 0.69 MB / 0.6014 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007417/0.4851, allocations: 4.797 MB / 0.6061 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.4852, allocations: 47.11 kB / 0.6061 GB, free: 2.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.4852, allocations: 0 / 0.6061 GB, free: 2.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04014/0.5254, allocations: 8.77 MB / 0.6147 GB, free: 10.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.5255, allocations: 64.41 kB / 0.6147 GB, free: 10.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.5281, allocations: 1.838 MB / 0.6165 GB, free: 8.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.5282, allocations: 41.7 kB / 0.6166 GB, free: 8.148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.5295, allocations: 1.581 MB / 0.6181 GB, free: 6.551 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000425/0.5299, allocations: 428.6 kB / 0.6185 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007989/0.5307, allocations: 0.5484 MB / 0.619 GB, free: 5.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5309, allocations: 301.1 kB / 0.6193 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.5327, allocations: 1.024 MB / 0.6203 GB, free: 4.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/0.536, allocations: 2.529 MB / 0.6228 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005598/0.5416, allocations: 3.818 MB / 0.6265 GB, free: 12.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.46e-05/0.5417, allocations: 16 kB / 0.6266 GB, free: 12.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006404/0.5481, allocations: 3.556 MB / 0.63 GB, free: 8.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.5482, allocations: 26.19 kB / 0.63 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.037e-05/0.5483, allocations: 56 kB / 0.6301 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-05/0.5484, allocations: 72 kB / 0.6302 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.5507, allocations: 0.6712 MB / 0.6308 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001104/0.5508, allocations: 103.6 kB / 0.6309 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.5525, allocations: 151.9 kB / 0.6311 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.5528, allocations: 156 kB / 0.6312 GB, free: 7.621 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 352 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001721/0.5545, allocations: 1.137 MB / 0.6323 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.5549, allocations: 174.8 kB / 0.6325 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/0.558, allocations: 1.761 MB / 0.6342 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.558, allocations: 12 kB / 0.6342 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.558, allocations: 0 / 0.6342 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.558, allocations: 3.984 kB / 0.6342 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009279/0.5673, allocations: 5.431 MB / 0.6395 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.5674, allocations: 11.98 kB / 0.6395 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.5682, allocations: 215.6 kB / 0.6397 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/0.5683, allocations: 16 kB / 0.6398 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.5684, allocations: 32 kB / 0.6398 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/0.5684, allocations: 24.42 kB / 0.6398 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/0.5684, allocations: 19.94 kB / 0.6398 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.5708, allocations: 1.695 MB / 0.6415 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.5712, allocations: 259.9 kB / 0.6417 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.5714, allocations: 47.92 kB / 0.6418 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.572, allocations: 35.98 kB / 0.6418 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.5723, allocations: 108.1 kB / 0.6419 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.5723, allocations: 40 kB / 0.642 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001755/0.5741, allocations: 1.203 MB / 0.6431 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5741, allocations: 0 / 0.6431 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002286/0.5764, allocations: 0.496 MB / 0.6436 GB, free: 10.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003043/0.5795, allocations: 2.319 MB / 0.6459 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004147/0.5836, allocations: 2.223 MB / 0.6481 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.5836, allocations: 4.438 kB / 0.6481 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009839/0.5846, allocations: 0.6069 MB / 0.6487 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5862, allocations: 270.9 kB / 0.6489 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03515/0.6213, allocations: 21.16 MB / 0.6696 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002404/0.6238, allocations: 2.071 MB / 0.6716 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001968/0.6257, allocations: 0.7305 MB / 0.6723 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.6273, allocations: 0.9639 MB / 0.6733 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of SimCode: time 8.61e-07/0.6273, allocations: 0 / 0.6733 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08682/0.7141, allocations: 39.03 MB / 0.7114 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.72, allocations: 0 / 0.7114 GB, free: 2.781 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches