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.001213/0.001213, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.001411, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3223, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01198/0.3343, allocations: 10.24 MB / 0.5405 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008366/0.3427, allocations: 3.797 MB / 0.5442 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.345, allocations: 58.16 kB / 0.5443 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.3491, allocations: 1.934 MB / 0.5462 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.3541, allocations: 1.631 MB / 0.5478 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.3558, allocations: 0.6125 MB / 0.5484 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005022/0.3608, allocations: 3.36 MB / 0.5516 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003641/0.3645, allocations: 2.578 MB / 0.5542 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.3668, allocations: 1.234 MB / 0.5554 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.3695, allocations: 1.662 MB / 0.557 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008201/0.3703, allocations: 256 kB / 0.5572 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.3727, allocations: 1.022 MB / 0.5582 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.3746, allocations: 1.566 MB / 0.5598 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002868/0.3775, allocations: 1.813 MB / 0.5615 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007138/0.3847, allocations: 5.788 MB / 0.5672 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3847, allocations: 0 / 0.5672 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3847, allocations: 3.938 kB / 0.5672 GB, free: 12.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002027/0.3849, allocations: 4 kB / 0.5672 GB, free: 12.07 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.00926/0.3942, allocations: 4.011 MB / 0.5711 GB, free: 7.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3943, allocations: 8.031 kB / 0.5711 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/0.3956, allocations: 0.6082 MB / 0.5717 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006388/0.402, allocations: 1.79 MB / 0.5735 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004661/0.4067, allocations: 2.146 MB / 0.5756 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.407, allocations: 189 kB / 0.5757 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009256/0.4079, allocations: 267.7 kB / 0.576 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.4243, allocations: 8.444 MB / 0.5842 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.4245, allocations: 51.58 kB / 0.5843 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008834/0.4254, allocations: 123.9 kB / 0.5844 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002811/0.4282, allocations: 1.695 MB / 0.5861 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.4422, allocations: 7.114 MB / 0.593 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04285/0.4851, allocations: 34 MB / 0.6262 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007265/0.4924, allocations: 3.304 MB / 0.6294 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.4944, allocations: 1.459 MB / 0.6309 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006857/0.5013, allocations: 4.441 MB / 0.6352 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5014, allocations: 51.06 kB / 0.6352 GB, free: 4.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.617e-06/0.5014, allocations: 0 / 0.6352 GB, free: 4.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.02979/0.5312, allocations: 11.55 MB / 0.6465 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/0.5313, allocations: 171 kB / 0.6467 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005737/0.5371, allocations: 3.725 MB / 0.6503 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.5373, allocations: 45.69 kB / 0.6504 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.5391, allocations: 2.748 MB / 0.6531 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005939/0.5398, allocations: 0.5209 MB / 0.6536 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.5413, allocations: 1.083 MB / 0.6546 GB, free: 60 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5415, allocations: 305.1 kB / 0.6549 GB, free: 15.76 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/0.5439, allocations: 1.701 MB / 0.6566 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/0.5485, allocations: 5.119 MB / 0.6616 GB, free: 7.199 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/0.5563, allocations: 7.415 MB / 0.6688 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.473e-05/0.5564, allocations: 32 kB / 0.6689 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01152/0.568, allocations: 6.705 MB / 0.6754 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.5681, allocations: 59.94 kB / 0.6755 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001598/0.5683, allocations: 120 kB / 0.6756 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.5689, allocations: 320.8 kB / 0.6759 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/0.5725, allocations: 1.244 MB / 0.6771 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.5751, allocations: 2.498 MB / 0.6795 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.5785, allocations: 291.5 kB / 0.6798 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005457/0.5791, allocations: 328 kB / 0.6801 GB, free: 2.355 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.002709/0.5818, allocations: 1.795 MB / 0.6819 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005844/0.5824, allocations: 316 kB / 0.6822 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.587, allocations: 2.37 MB / 0.6845 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.587, allocations: 20 kB / 0.6845 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.5871, allocations: 4 kB / 0.6845 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.5871, allocations: 3.984 kB / 0.6845 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.5984, allocations: 5.91 MB / 0.6903 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.5985, allocations: 3.938 kB / 0.6903 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/0.5993, allocations: 179.7 kB / 0.6905 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.6015, allocations: 0.7147 MB / 0.6912 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.6016, allocations: 23.94 kB / 0.6912 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/0.6076, allocations: 4.805 MB / 0.6959 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6076, allocations: 7.984 kB / 0.6959 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00705/0.6147, allocations: 4.345 MB / 0.7001 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/0.6157, allocations: 361 kB / 0.7005 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006721/0.6164, allocations: 27.98 kB / 0.7005 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.6177, allocations: 71.84 kB / 0.7006 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.618, allocations: 68.5 kB / 0.7006 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.6181, allocations: 36 kB / 0.7007 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004362/0.6224, allocations: 2.323 MB / 0.7029 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/0.6225, allocations: 4.062 kB / 0.7029 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004523/0.627, allocations: 0.7969 MB / 0.7037 GB, free: 9.895 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.007337/0.6344, allocations: 4.98 MB / 0.7086 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006461/0.6408, allocations: 4.037 MB / 0.7125 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.6409, allocations: 0 / 0.7125 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.6426, allocations: 1.115 MB / 0.7136 GB, free: 15.71 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.6455, allocations: 389.6 kB / 0.714 GB, free: 15.33 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3248/0.9703, allocations: 37.58 MB / 0.7507 GB, free: 163.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.9726, allocations: 2.79 MB / 0.7534 GB, free: 160.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003035/0.9756, allocations: 1.657 MB / 0.755 GB, free: 159 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/0.9772, allocations: 1.522 MB / 0.7565 GB, free: 157.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.062e-06/0.9773, allocations: 0 / 0.7565 GB, free: 157.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08677/1.064, allocations: 58.43 MB / 0.8136 GB, free: 99.47 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.24/24.3, allocations: 3.984 kB / 0.8136 GB, free: 99.46 MB / 0.5763 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