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.00118/0.00118, allocations: 106.2 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 205.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.69 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1311, allocations: 62.45 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04474/0.1759, allocations: 34.5 MB / 0.5021 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.238/0.4139, allocations: 7.71 MB / 0.5096 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008674/0.4227, allocations: 151.2 kB / 0.5097 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.4269, allocations: 1.858 MB / 0.5115 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.4315, allocations: 1.518 MB / 0.513 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.4335, allocations: 0.5683 MB / 0.5136 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005973/0.4395, allocations: 3.392 MB / 0.5169 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/0.4435, allocations: 2.722 MB / 0.5196 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.4458, allocations: 1.258 MB / 0.5208 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.4482, allocations: 1.871 MB / 0.5226 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005363/0.4487, allocations: 253.7 kB / 0.5228 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.4516, allocations: 1.032 MB / 0.5239 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.4539, allocations: 1.575 MB / 0.5254 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.4558, allocations: 1.839 MB / 0.5272 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.4615, allocations: 5.635 MB / 0.5327 GB, free: 2.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4615, allocations: 0 / 0.5327 GB, free: 2.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4615, allocations: 0 / 0.5327 GB, free: 2.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001023/0.4616, allocations: 0 / 0.5327 GB, free: 2.52 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.006825/0.4684, allocations: 4.013 MB / 0.5366 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.4685, allocations: 10.31 kB / 0.5366 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007411/0.4693, allocations: 0.6032 MB / 0.5372 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006022/0.4753, allocations: 1.783 MB / 0.539 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/0.4793, allocations: 2.119 MB / 0.541 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.4795, allocations: 192.8 kB / 0.5412 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004414/0.4799, allocations: 255.1 kB / 0.5414 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.4965, allocations: 8.447 MB / 0.5497 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/0.4967, allocations: 39.59 kB / 0.5497 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008849/0.4976, allocations: 134 kB / 0.5499 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003072/0.5007, allocations: 1.702 MB / 0.5515 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.5156, allocations: 7.101 MB / 0.5585 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04571/0.5613, allocations: 34.16 MB / 0.5918 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007728/0.5691, allocations: 3.301 MB / 0.595 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.5711, allocations: 1.464 MB / 0.5965 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007568/0.5787, allocations: 4.435 MB / 0.6008 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.5788, allocations: 51.12 kB / 0.6009 GB, free: 14.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.997e-06/0.5788, allocations: 0 / 0.6009 GB, free: 14.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.03288/0.6117, allocations: 11.55 MB / 0.6121 GB, free: 3.262 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6119, allocations: 174.8 kB / 0.6123 GB, free: 3.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008205/0.6201, allocations: 3.714 MB / 0.6159 GB, free: 15.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.6204, allocations: 44.59 kB / 0.616 GB, free: 15.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002563/0.623, allocations: 2.755 MB / 0.6187 GB, free: 12.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008568/0.6239, allocations: 0.5184 MB / 0.6192 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002834/0.6267, allocations: 1.078 MB / 0.6202 GB, free: 10.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6269, allocations: 305.1 kB / 0.6205 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/0.6301, allocations: 1.705 MB / 0.6222 GB, free: 8.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00582/0.636, allocations: 5.115 MB / 0.6272 GB, free: 2.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009034/0.645, allocations: 7.413 MB / 0.6344 GB, free: 8.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-05/0.6451, allocations: 32 kB / 0.6344 GB, free: 8.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01215/0.6573, allocations: 6.708 MB / 0.641 GB, free: 2.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.6574, allocations: 56 kB / 0.641 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002096/0.6577, allocations: 123.9 kB / 0.6412 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.6584, allocations: 321.4 kB / 0.6415 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/0.6624, allocations: 1.244 MB / 0.6427 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.6655, allocations: 2.498 MB / 0.6451 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/0.6694, allocations: 293.7 kB / 0.6454 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008184/0.6702, allocations: 328 kB / 0.6457 GB, free: 13.24 MB / 0.4981 GB 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.00374/0.674, allocations: 1.791 MB / 0.6475 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008588/0.6748, allocations: 308 kB / 0.6478 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/0.6801, allocations: 2.378 MB / 0.6501 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.6802, allocations: 19.12 kB / 0.6501 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.6802, allocations: 4 kB / 0.6501 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.6802, allocations: 3.984 kB / 0.6501 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.6934, allocations: 5.932 MB / 0.6559 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.6934, allocations: 0 / 0.6559 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008841/0.6943, allocations: 175.8 kB / 0.6561 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.6967, allocations: 0.7224 MB / 0.6568 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.6969, allocations: 20 kB / 0.6568 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006641/0.7036, allocations: 4.823 MB / 0.6615 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.7036, allocations: 4.469 kB / 0.6615 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007341/0.7109, allocations: 4.334 MB / 0.6657 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.712, allocations: 364.9 kB / 0.6661 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007233/0.7127, allocations: 23.98 kB / 0.6661 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.7144, allocations: 71.97 kB / 0.6662 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.7146, allocations: 72.44 kB / 0.6662 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.7147, allocations: 36 kB / 0.6663 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004893/0.7196, allocations: 2.323 MB / 0.6686 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7196, allocations: 0 / 0.6686 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005367/0.725, allocations: 0.8007 MB / 0.6693 GB, free: 4.797 MB / 0.5137 GB 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.007849/0.7329, allocations: 4.97 MB / 0.6742 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007907/0.7408, allocations: 4.417 MB / 0.6785 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7408, allocations: 0 / 0.6785 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.7425, allocations: 1.119 MB / 0.6796 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/0.7456, allocations: 386.3 kB / 0.68 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3026/1.048, allocations: 43.69 MB / 0.7226 GB, free: 213.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004426/1.053, allocations: 2.791 MB / 0.7254 GB, free: 212.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004939/1.058, allocations: 1.662 MB / 0.727 GB, free: 212.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/1.06, allocations: 1.516 MB / 0.7285 GB, free: 211 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.06, allocations: 0 / 0.7285 GB, free: 211 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09609/1.156, allocations: 60.97 MB / 0.788 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/1.156, allocations: 224.2 kB / 0.7882 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.898/5.054, allocations: 7.094 kB / 0.7882 GB, free: 162.2 MB / 0.5606 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