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.001711/0.001711, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 203.9 kB / 18.74 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.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 83.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3141, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.012/0.3261, allocations: 10.24 MB / 0.5406 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007894/0.3341, allocations: 3.794 MB / 0.5443 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.3357, allocations: 58.16 kB / 0.5444 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004171/0.34, allocations: 1.939 MB / 0.5463 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.3446, allocations: 1.622 MB / 0.5479 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3462, allocations: 0.6168 MB / 0.5485 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005352/0.3516, allocations: 3.364 MB / 0.5518 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.3552, allocations: 2.578 MB / 0.5543 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.3574, allocations: 1.238 MB / 0.5555 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.3601, allocations: 1.67 MB / 0.5571 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.3609, allocations: 252 kB / 0.5574 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.3635, allocations: 1.01 MB / 0.5583 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.3656, allocations: 1.547 MB / 0.5599 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002809/0.3685, allocations: 1.817 MB / 0.5616 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008006/0.3765, allocations: 5.813 MB / 0.5673 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3766, allocations: 0 / 0.5673 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.3766, allocations: 0 / 0.5673 GB, free: 11.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001681/0.3767, allocations: 0 / 0.5673 GB, free: 11.98 MB / 430.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.009216/0.386, allocations: 4.125 MB / 0.5713 GB, free: 7.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.386, allocations: 15.97 kB / 0.5713 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/0.3874, allocations: 0.6004 MB / 0.5719 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006853/0.3943, allocations: 1.808 MB / 0.5737 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.3988, allocations: 2.163 MB / 0.5758 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.399, allocations: 193 kB / 0.576 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009692/0.4, allocations: 251.9 kB / 0.5762 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.4162, allocations: 8.459 MB / 0.5845 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.4163, allocations: 35.69 kB / 0.5845 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007195/0.4171, allocations: 127.9 kB / 0.5847 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003124/0.4202, allocations: 1.699 MB / 0.5863 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.4351, allocations: 7.11 MB / 0.5933 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04311/0.4782, allocations: 34.08 MB / 0.6265 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.4863, allocations: 3.292 MB / 0.6297 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.4885, allocations: 1.462 MB / 0.6312 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007474/0.496, allocations: 4.457 MB / 0.6355 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.4961, allocations: 51.12 kB / 0.6356 GB, free: 3.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 4.758e-06/0.4961, allocations: 0 / 0.6356 GB, free: 3.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03227/0.5284, allocations: 11.75 MB / 0.6471 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.5286, allocations: 170.9 kB / 0.6472 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/0.5352, allocations: 3.727 MB / 0.6509 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002768/0.5355, allocations: 41.7 kB / 0.6509 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002645/0.5382, allocations: 2.866 MB / 0.6537 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00088/0.5391, allocations: 0.5506 MB / 0.6542 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002284/0.5414, allocations: 1.08 MB / 0.6553 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5416, allocations: 309.1 kB / 0.6556 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/0.5446, allocations: 1.701 MB / 0.6572 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006076/0.5507, allocations: 5.123 MB / 0.6622 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009752/0.5605, allocations: 7.409 MB / 0.6695 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.5607, allocations: 36 kB / 0.6695 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01316/0.5739, allocations: 6.723 MB / 0.6761 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.811e-05/0.574, allocations: 59.94 kB / 0.6761 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.5741, allocations: 124 kB / 0.6763 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/0.5748, allocations: 320.7 kB / 0.6766 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/0.5787, allocations: 1.244 MB / 0.6778 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.5818, allocations: 2.49 MB / 0.6802 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/0.5853, allocations: 291.6 kB / 0.6805 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006322/0.5859, allocations: 332 kB / 0.6808 GB, free: 1.723 MB / 0.5294 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.002985/0.5889, allocations: 1.795 MB / 0.6826 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006088/0.5895, allocations: 325.8 kB / 0.6829 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/0.5946, allocations: 2.37 MB / 0.6852 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.5947, allocations: 20 kB / 0.6852 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5947, allocations: 4 kB / 0.6852 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.5947, allocations: 3.984 kB / 0.6852 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.607, allocations: 5.914 MB / 0.691 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.6071, allocations: 8.062 kB / 0.691 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/0.6079, allocations: 183.7 kB / 0.6912 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/0.6103, allocations: 0.7108 MB / 0.6919 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.6105, allocations: 19.94 kB / 0.6919 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006655/0.6171, allocations: 4.821 MB / 0.6966 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.6172, allocations: 0 / 0.6966 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007663/0.6248, allocations: 4.362 MB / 0.7008 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/0.6257, allocations: 378.8 kB / 0.7012 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/0.6263, allocations: 23.94 kB / 0.7012 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.6276, allocations: 67.91 kB / 0.7013 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.6279, allocations: 72.48 kB / 0.7014 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.628, allocations: 39.98 kB / 0.7014 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003988/0.632, allocations: 2.319 MB / 0.7037 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.21e-07/0.632, allocations: 4.062 kB / 0.7037 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004333/0.6364, allocations: 0.7968 MB / 0.7044 GB, free: 9.211 MB / 0.5606 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.008475/0.6449, allocations: 4.998 MB / 0.7093 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007088/0.652, allocations: 4.045 MB / 0.7133 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.652, allocations: 0 / 0.7133 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.6539, allocations: 1.107 MB / 0.7144 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.6567, allocations: 388.6 kB / 0.7147 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2831/0.9398, allocations: 37.73 MB / 0.7516 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002887/0.9428, allocations: 2.786 MB / 0.7543 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003365/0.9461, allocations: 1.661 MB / 0.7559 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/0.9483, allocations: 1.522 MB / 0.7574 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.9483, allocations: 4 kB / 0.7574 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09231/1.041, allocations: 57.54 MB / 0.8136 GB, free: 99.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.63/25.67, allocations: 3.938 kB / 0.8136 GB, free: 99.12 MB / 0.5762 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