Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 77.22 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 62.45 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01131/0.122, allocations: 10.23 MB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007971/0.13, allocations: 3.806 MB / 494.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.132, allocations: 59.81 kB / 494.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00359/0.1356, allocations: 1.935 MB / 496.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.1395, allocations: 1.63 MB / 497.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1409, allocations: 0.6082 MB / 498.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004027/0.1449, allocations: 3.365 MB / 0.49 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.1477, allocations: 2.576 MB / 0.4925 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.1493, allocations: 1.238 MB / 0.4937 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.1512, allocations: 1.662 MB / 0.4953 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000497/0.1517, allocations: 252 kB / 0.4956 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.1535, allocations: 1.018 MB / 0.4966 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.1549, allocations: 1.535 MB / 0.4981 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.1566, allocations: 1.817 MB / 0.4999 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2338/0.3904, allocations: 5.577 MB / 0.5053 GB, free: 20.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.3905, allocations: 0 / 0.5053 GB, free: 20.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3905, allocations: 0.6875 kB / 0.5053 GB, free: 20.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000223/0.3907, allocations: 0 / 0.5053 GB, free: 20.31 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009389/0.4001, allocations: 4.009 MB / 0.5092 GB, free: 18.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4002, allocations: 8.938 kB / 0.5092 GB, free: 18.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000921/0.4011, allocations: 0.6049 MB / 0.5098 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006835/0.408, allocations: 1.786 MB / 0.5116 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.4128, allocations: 2.119 MB / 0.5136 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.413, allocations: 192 kB / 0.5138 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006805/0.4137, allocations: 259.9 kB / 0.5141 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.4288, allocations: 8.446 MB / 0.5223 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.429, allocations: 35.47 kB / 0.5223 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.4293, allocations: 126.2 kB / 0.5225 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/0.4321, allocations: 1.701 MB / 0.5241 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.4453, allocations: 7.116 MB / 0.5311 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0352/0.4805, allocations: 34.16 MB / 0.5644 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007394/0.488, allocations: 3.291 MB / 0.5676 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.4898, allocations: 1.464 MB / 0.5691 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006908/0.4968, allocations: 4.434 MB / 0.5734 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.4968, allocations: 57.06 kB / 0.5735 GB, free: 3.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.368e-06/0.4968, allocations: 0 / 0.5735 GB, free: 3.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.03102/0.5279, allocations: 11.57 MB / 0.5848 GB, free: 7.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.528, allocations: 166.9 kB / 0.5849 GB, free: 7.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006037/0.534, allocations: 3.716 MB / 0.5885 GB, free: 4.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002389/0.5343, allocations: 45.7 kB / 0.5886 GB, free: 4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.5364, allocations: 2.749 MB / 0.5913 GB, free: 1.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006534/0.537, allocations: 0.5269 MB / 0.5918 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/0.5388, allocations: 1.071 MB / 0.5928 GB, free: 15.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.5389, allocations: 305.1 kB / 0.5931 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.5417, allocations: 1.704 MB / 0.5948 GB, free: 13.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/0.5465, allocations: 5.123 MB / 0.5998 GB, free: 6.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00813/0.5547, allocations: 7.408 MB / 0.607 GB, free: 14.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.5548, allocations: 36 kB / 0.6071 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01154/0.5664, allocations: 6.706 MB / 0.6136 GB, free: 7.641 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.5665, allocations: 60 kB / 0.6137 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/0.5667, allocations: 123.9 kB / 0.6138 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.5673, allocations: 329.5 kB / 0.6141 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.5711, allocations: 1.236 MB / 0.6153 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.5737, allocations: 2.497 MB / 0.6177 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/0.5777, allocations: 287.6 kB / 0.618 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007426/0.5785, allocations: 336 kB / 0.6183 GB, free: 2.648 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (664): * Single equations (assignments): 660 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003194/0.5817, allocations: 1.79 MB / 0.6201 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007243/0.5824, allocations: 308 kB / 0.6204 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/0.5874, allocations: 2.374 MB / 0.6227 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.5875, allocations: 16 kB / 0.6227 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.5875, allocations: 0 / 0.6227 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.5875, allocations: 11.97 kB / 0.6227 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.6006, allocations: 5.935 MB / 0.6285 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.6006, allocations: 0 / 0.6285 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.6015, allocations: 175.9 kB / 0.6287 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.6037, allocations: 0.717 MB / 0.6294 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.6038, allocations: 24 kB / 0.6294 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005805/0.6096, allocations: 4.824 MB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6096, allocations: 3.984 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/0.6164, allocations: 4.333 MB / 0.6384 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008629/0.6173, allocations: 364.9 kB / 0.6387 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/0.6179, allocations: 16 kB / 0.6387 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.6193, allocations: 83.95 kB / 0.6388 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.6195, allocations: 64.52 kB / 0.6389 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.702e-05/0.6196, allocations: 31.98 kB / 0.6389 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003865/0.6235, allocations: 2.327 MB / 0.6412 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6235, allocations: 0 / 0.6412 GB, free: 11.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004387/0.6279, allocations: 0.8035 MB / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007824/0.6357, allocations: 4.963 MB / 0.6468 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008408/0.6441, allocations: 4.421 MB / 0.6511 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.6442, allocations: 128 / 0.6511 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.6459, allocations: 1.115 MB / 0.6522 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.6494, allocations: 385.5 kB / 0.6526 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06739/0.7168, allocations: 42.23 MB / 0.6938 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003812/0.7206, allocations: 2.789 MB / 0.6965 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004278/0.7249, allocations: 1.656 MB / 0.6982 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002643/0.7276, allocations: 1.526 MB / 0.6996 GB, free: 8.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.7276, allocations: 0 / 0.6996 GB, free: 8.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3004/1.028, allocations: 61.1 MB / 0.7593 GB, free: 167.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.36, allocations: 13.75 kB / 0.7593 GB, free: 167.4 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches