Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.001206/0.001206, allocations: 101.9 kB / 16.27 MB, free: 5.977 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.00123/0.001231, allocations: 192.1 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2117/0.2117, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.31 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09259, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0095/0.1021, allocations: 10.28 MB / 450.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00714/0.1093, allocations: 3.784 MB / 454.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1106, allocations: 55.81 kB / 454.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003605/0.1143, allocations: 1.947 MB / 456.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.1185, allocations: 1.654 MB / 458.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1201, allocations: 0.6121 MB / 459 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004769/0.1249, allocations: 3.345 MB / 462.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003619/0.1285, allocations: 2.583 MB / 464.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.1307, allocations: 1.25 MB / 466.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.1333, allocations: 1.666 MB / 467.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008378/0.1342, allocations: 256 kB / 468 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.1365, allocations: 1.034 MB / 469.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.1384, allocations: 1.562 MB / 470.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.1411, allocations: 1.837 MB / 472.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00699/0.1481, allocations: 5.638 MB / 478.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1482, allocations: 3.938 kB / 478.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1482, allocations: 0 / 478.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001947/0.1484, allocations: 0 / 478.1 MB, free: 1.121 MB / 350.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.009096/0.1575, allocations: 4.045 MB / 482.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.1576, allocations: 11.89 kB / 482.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008595/0.1584, allocations: 0.6082 MB / 482.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/0.1647, allocations: 1.786 MB / 484.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/0.1688, allocations: 2.389 MB / 487 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.169, allocations: 193 kB / 487.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005239/0.1695, allocations: 247.9 kB / 487.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.1824, allocations: 8.44 MB / 495.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.1826, allocations: 39.59 kB / 495.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/0.183, allocations: 123.9 kB / 496 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002729/0.1858, allocations: 1.703 MB / 497.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.198, allocations: 7.098 MB / 0.493 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03959/0.2376, allocations: 34.18 MB / 0.5263 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2024/0.4401, allocations: 3.274 MB / 0.5295 GB, free: 87.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.4421, allocations: 1.46 MB / 0.531 GB, free: 87.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00624/0.4484, allocations: 4.366 MB / 0.5352 GB, free: 85.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4485, allocations: 50.69 kB / 0.5353 GB, free: 85.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.538e-06/0.4485, allocations: 1.062 kB / 0.5353 GB, free: 85.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02925/0.4777, allocations: 11.59 MB / 0.5466 GB, free: 81.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.4778, allocations: 166.7 kB / 0.5468 GB, free: 80.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004303/0.4821, allocations: 3.737 MB / 0.5504 GB, free: 79.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.4824, allocations: 42.08 kB / 0.5504 GB, free: 79.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.4843, allocations: 2.761 MB / 0.5531 GB, free: 77.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.4847, allocations: 0.5189 MB / 0.5536 GB, free: 77.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009994/0.4857, allocations: 1.076 MB / 0.5547 GB, free: 76.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.4858, allocations: 301.1 kB / 0.555 GB, free: 76.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4876, allocations: 1.7 MB / 0.5566 GB, free: 75.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.4904, allocations: 5.119 MB / 0.5616 GB, free: 69.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005234/0.4956, allocations: 7.402 MB / 0.5689 GB, free: 60.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.042e-05/0.4957, allocations: 36 kB / 0.5689 GB, free: 60.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01099/0.5067, allocations: 6.705 MB / 0.5755 GB, free: 54.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.5069, allocations: 59.94 kB / 0.5755 GB, free: 53.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.507, allocations: 124 kB / 0.5756 GB, free: 53.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/0.5075, allocations: 322.8 kB / 0.5759 GB, free: 53.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003494/0.511, allocations: 1.24 MB / 0.5771 GB, free: 52.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.5131, allocations: 2.502 MB / 0.5796 GB, free: 49.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/0.5177, allocations: 287.6 kB / 0.5799 GB, free: 49.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006675/0.5184, allocations: 336 kB / 0.5802 GB, free: 49.04 MB / 414.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.003234/0.5216, allocations: 1.791 MB / 0.5819 GB, free: 47.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008665/0.5225, allocations: 312 kB / 0.5822 GB, free: 46.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004051/0.5265, allocations: 2.366 MB / 0.5845 GB, free: 44.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.5266, allocations: 16 kB / 0.5846 GB, free: 44.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.5266, allocations: 4 kB / 0.5846 GB, free: 44.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.5266, allocations: 3.984 kB / 0.5846 GB, free: 44.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009677/0.5363, allocations: 5.935 MB / 0.5904 GB, free: 38.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.5363, allocations: 4 kB / 0.5904 GB, free: 38.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/0.5371, allocations: 175.7 kB / 0.5905 GB, free: 38.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.539, allocations: 0.7148 MB / 0.5912 GB, free: 37.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.5391, allocations: 20 kB / 0.5912 GB, free: 37.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.5436, allocations: 4.815 MB / 0.596 GB, free: 32.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5436, allocations: 4.031 kB / 0.596 GB, free: 32.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/0.5493, allocations: 4.336 MB / 0.6002 GB, free: 28.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009837/0.5503, allocations: 0.5282 MB / 0.6007 GB, free: 27.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.5506, allocations: 20 kB / 0.6007 GB, free: 27.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5517, allocations: 71.27 kB / 0.6008 GB, free: 27.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.5519, allocations: 66.67 kB / 0.6009 GB, free: 27.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.5519, allocations: 32 kB / 0.6009 GB, free: 27.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002504/0.5545, allocations: 2.347 MB / 0.6032 GB, free: 25.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5545, allocations: 7.906 kB / 0.6032 GB, free: 25.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003598/0.5581, allocations: 0.8151 MB / 0.604 GB, free: 24.43 MB / 414.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.005552/0.5636, allocations: 4.947 MB / 0.6088 GB, free: 19.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005721/0.5694, allocations: 4.408 MB / 0.6131 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5694, allocations: 0 / 0.6131 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.5705, allocations: 1.11 MB / 0.6142 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.5728, allocations: 390.2 kB / 0.6146 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05098/0.6238, allocations: 42.38 MB / 0.656 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/0.6271, allocations: 2.797 MB / 0.6587 GB, free: 9.496 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004057/0.6312, allocations: 1.652 MB / 0.6603 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002021/0.6332, allocations: 1.534 MB / 0.6618 GB, free: 6.312 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6332, allocations: 0 / 0.6618 GB, free: 6.312 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2957/0.9289, allocations: 61.37 MB / 0.7217 GB, free: 167.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.15, allocations: 11.25 kB / 0.7218 GB, free: 167.2 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches