Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001404, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001628/0.001628, allocations: 187 kB / 18.71 MB, free: 4.344 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2193/0.2193, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3687, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01427/0.383, allocations: 12.32 MB / 0.5305 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009546/0.3926, allocations: 3.924 MB / 0.5343 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.3955, allocations: 69.06 kB / 0.5344 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.3989, allocations: 1.315 MB / 0.5356 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.4041, allocations: 1.752 MB / 0.5373 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.4058, allocations: 490.4 kB / 0.5378 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007145/0.413, allocations: 3.589 MB / 0.5413 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003804/0.4168, allocations: 2.016 MB / 0.5433 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.42, allocations: 1.2 MB / 0.5445 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.423, allocations: 1.727 MB / 0.5461 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008102/0.4239, allocations: 236 kB / 0.5464 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.4264, allocations: 0.9517 MB / 0.5473 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.4282, allocations: 1.593 MB / 0.5489 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.4308, allocations: 1.902 MB / 0.5507 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007761/0.4386, allocations: 6.247 MB / 0.5568 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4386, allocations: 0 / 0.5568 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4386, allocations: 0 / 0.5568 GB, free: 4.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001685/0.4388, allocations: 0 / 0.5568 GB, free: 4.695 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008281/0.4471, allocations: 4.171 MB / 0.5609 GB, free: 468 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4472, allocations: 12.03 kB / 0.5609 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009115/0.4481, allocations: 0.7083 MB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.4586, allocations: 3.084 MB / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/0.4644, allocations: 2.209 MB / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4646, allocations: 185 kB / 0.5669 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000918/0.4655, allocations: 251.8 kB / 0.5672 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.4819, allocations: 10.48 MB / 0.5774 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.403e-05/0.4821, allocations: 31.66 kB / 0.5774 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005032/0.4826, allocations: 119.8 kB / 0.5776 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004172/0.4867, allocations: 2.549 MB / 0.58 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.5053, allocations: 9.911 MB / 0.5897 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0573/0.5627, allocations: 34.28 MB / 0.6232 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.5734, allocations: 5.174 MB / 0.6283 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003735/0.5772, allocations: 2.292 MB / 0.6305 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002225/0.5794, allocations: 1.887 MB / 0.6323 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/0.5795, allocations: 52.56 kB / 0.6324 GB, free: 5.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 8.847e-06/0.5795, allocations: 4 kB / 0.6324 GB, free: 5.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03697/0.6165, allocations: 13.99 MB / 0.6461 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.6166, allocations: 73.41 kB / 0.6461 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/0.6213, allocations: 2.639 MB / 0.6487 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003959/0.6217, allocations: 53.7 kB / 0.6488 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.6238, allocations: 2.632 MB / 0.6513 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.625, allocations: 0.8518 MB / 0.6522 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002212/0.6272, allocations: 1.036 MB / 0.6532 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6274, allocations: 309.1 kB / 0.6535 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/0.6309, allocations: 2.193 MB / 0.6556 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00617/0.6371, allocations: 5.063 MB / 0.6606 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.6476, allocations: 7.957 MB / 0.6683 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.6478, allocations: 28 kB / 0.6683 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01682/0.6646, allocations: 7.867 MB / 0.676 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.6648, allocations: 48 kB / 0.6761 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/0.665, allocations: 100 kB / 0.6762 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.6676, allocations: 0.7973 MB / 0.677 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.6719, allocations: 1.181 MB / 0.6781 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006547/0.6784, allocations: 4.519 MB / 0.6825 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/0.6822, allocations: 287.8 kB / 0.6828 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009648/0.6832, allocations: 300 kB / 0.6831 GB, free: 14.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (631): * Single equations (assignments): 624 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003946/0.6871, allocations: 2.024 MB / 0.6851 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/0.6878, allocations: 264.5 kB / 0.6853 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007935/0.6957, allocations: 4.721 MB / 0.6899 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-05/0.6958, allocations: 43.98 kB / 0.69 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6958, allocations: 7.938 kB / 0.69 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.6958, allocations: 7.969 kB / 0.69 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.7155, allocations: 10.5 MB / 0.7002 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/0.7155, allocations: 8 kB / 0.7002 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.7171, allocations: 367.4 kB / 0.7006 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/0.7191, allocations: 0.6567 MB / 0.7012 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/0.7194, allocations: 51.92 kB / 0.7013 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005344/0.7247, allocations: 3.89 MB / 0.7051 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.7247, allocations: 11.94 kB / 0.7051 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/0.7356, allocations: 7.144 MB / 0.7121 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009319/0.7366, allocations: 301.9 kB / 0.7124 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007298/0.7373, allocations: 47.98 kB / 0.7124 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.739, allocations: 143.7 kB / 0.7125 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00043/0.7395, allocations: 133 kB / 0.7127 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/0.7397, allocations: 63.97 kB / 0.7127 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002584/0.7423, allocations: 1.631 MB / 0.7143 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7423, allocations: 0 / 0.7143 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00443/0.7467, allocations: 0.9219 MB / 0.7152 GB, free: 12.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01135/0.7581, allocations: 7.79 MB / 0.7228 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2705/1.029, allocations: 5.378 MB / 0.7281 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.029, allocations: 3.625 kB / 0.7281 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003789/1.032, allocations: 2.018 MB / 0.7301 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.035, allocations: 357.2 kB / 0.7304 GB, free: 190.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05623/1.091, allocations: 39.55 MB / 0.769 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/1.095, allocations: 3.167 MB / 0.7721 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003476/1.098, allocations: 1.965 MB / 0.774 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/1.1, allocations: 1.706 MB / 0.7757 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/1.1, allocations: 0 / 0.7757 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08485/1.185, allocations: 55.42 MB / 0.8298 GB, free: 99.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.68/22.86, allocations: 13.03 kB / 0.8298 GB, free: 99.08 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches