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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008407/0.0008407, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007938/0.0007938, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7752/0.7752, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1247/0.1247, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.721e-05, allocations: 2.281 kB / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007955/0.007972, allocations: 9.088 MB / 415.9 MB, free: 9.102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005551/0.01352, allocations: 3.593 MB / 419.5 MB, free: 5.496 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.01445, allocations: 71.69 kB / 419.6 MB, free: 5.426 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.01649, allocations: 1.993 MB / 421.6 MB, free: 3.426 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.01893, allocations: 1.769 MB / 423.4 MB, free: 1.648 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008886/0.01982, allocations: 0.6625 MB / 424 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.02264, allocations: 3.704 MB / 427.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.02442, allocations: 2.391 MB / 430.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.02596, allocations: 1.917 MB / 432 MB, free: 8.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.0273, allocations: 1.82 MB / 433.9 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.02752, allocations: 264 kB / 434.1 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.02853, allocations: 0.9711 MB / 435.1 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008348/0.02936, allocations: 1.687 MB / 436.8 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006639/0.03002, allocations: 1.063 MB / 437.8 MB, free: 3.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.03341, allocations: 5.887 MB / 443.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.03341, allocations: 0 / 443.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.03341, allocations: 0 / 443.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.478e-05/0.03345, allocations: 0 / 443.7 MB, free: 13.18 MB / 426.7 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.003959/0.03741, allocations: 4.092 MB / 447.8 MB, free: 9.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.03745, allocations: 8.031 kB / 447.8 MB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004639/0.03791, allocations: 0.6043 MB / 448.4 MB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.04114, allocations: 1.855 MB / 450.3 MB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.04326, allocations: 2.118 MB / 452.4 MB, free: 4.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/0.04335, allocations: 185.2 kB / 452.6 MB, free: 4.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.04365, allocations: 260.2 kB / 452.8 MB, free: 3.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007641/0.05129, allocations: 8.486 MB / 461.3 MB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.05135, allocations: 43.67 kB / 461.4 MB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.05157, allocations: 119.9 kB / 461.5 MB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/0.05302, allocations: 1.703 MB / 463.2 MB, free: 8.918 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007569/0.06059, allocations: 7.067 MB / 470.2 MB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1909/0.2515, allocations: 33.07 MB / 0.4915 GB, free: 70.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.2551, allocations: 2.822 MB / 0.4943 GB, free: 69.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000917/0.256, allocations: 1.356 MB / 0.4956 GB, free: 69.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00304/0.259, allocations: 3.539 MB / 0.4991 GB, free: 67.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2591, allocations: 45.31 kB / 0.4991 GB, free: 67.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 2.905e-06/0.2591, allocations: 2.938 kB / 0.4991 GB, free: 67.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01572/0.2748, allocations: 12 MB / 0.5108 GB, free: 63.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2748, allocations: 173.7 kB / 0.511 GB, free: 62.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/0.2781, allocations: 4.174 MB / 0.5151 GB, free: 61.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.2782, allocations: 45.83 kB / 0.5151 GB, free: 61.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009304/0.2791, allocations: 2.839 MB / 0.5179 GB, free: 59.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.2794, allocations: 0.5334 MB / 0.5184 GB, free: 58.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/0.2802, allocations: 1.061 MB / 0.5194 GB, free: 58.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.363e-05/0.2802, allocations: 307.6 kB / 0.5197 GB, free: 57.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.2816, allocations: 1.691 MB / 0.5214 GB, free: 57.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.2839, allocations: 5.149 MB / 0.5264 GB, free: 52.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/0.2877, allocations: 7.402 MB / 0.5336 GB, free: 45.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.526e-05/0.2878, allocations: 36 kB / 0.5337 GB, free: 45.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.004842/0.2926, allocations: 6.722 MB / 0.5402 GB, free: 39.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.2926, allocations: 60 kB / 0.5403 GB, free: 39.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.756e-05/0.2927, allocations: 123.6 kB / 0.5404 GB, free: 39.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.293, allocations: 315.1 kB / 0.5407 GB, free: 39.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.2946, allocations: 1.241 MB / 0.5419 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2958, allocations: 2.375 MB / 0.5442 GB, free: 35.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.2976, allocations: 332.7 kB / 0.5446 GB, free: 35.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.2977, allocations: 331.8 kB / 0.5449 GB, free: 35.23 MB / 442.7 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.001179/0.2989, allocations: 1.789 MB / 0.5466 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.2991, allocations: 333.7 kB / 0.5469 GB, free: 33.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.3013, allocations: 2.352 MB / 0.5492 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3013, allocations: 19.59 kB / 0.5493 GB, free: 30.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3013, allocations: 4 kB / 0.5493 GB, free: 30.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.3013, allocations: 7.969 kB / 0.5493 GB, free: 30.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/0.3064, allocations: 5.735 MB / 0.5549 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3064, allocations: 0 / 0.5549 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.3068, allocations: 175.7 kB / 0.555 GB, free: 24.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009927/0.3077, allocations: 0.7108 MB / 0.5557 GB, free: 24.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.3078, allocations: 20 kB / 0.5558 GB, free: 24.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.3107, allocations: 4.733 MB / 0.5604 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3107, allocations: 12.06 kB / 0.5604 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/0.3139, allocations: 4.321 MB / 0.5646 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/0.3144, allocations: 0.513 MB / 0.5651 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.3146, allocations: 24 kB / 0.5651 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.3152, allocations: 103.8 kB / 0.5652 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3154, allocations: 74.5 kB / 0.5653 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.3154, allocations: 40.05 kB / 0.5653 GB, free: 14.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001674/0.3171, allocations: 2.499 MB / 0.5678 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3171, allocations: 0 / 0.5678 GB, free: 11.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00217/0.3193, allocations: 0.9061 MB / 0.5687 GB, free: 10.76 MB / 442.7 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.00358/0.3228, allocations: 4.986 MB / 0.5735 GB, free: 5.734 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003063/0.3259, allocations: 3.877 MB / 0.5773 GB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3259, allocations: 0 / 0.5773 GB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007664/0.3267, allocations: 1.037 MB / 0.5783 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.3279, allocations: 394.3 kB / 0.5787 GB, free: 468 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03397/0.3619, allocations: 38.42 MB / 0.6162 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.3635, allocations: 2.245 MB / 0.6184 GB, free: 2.582 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002138/0.3657, allocations: 1.663 MB / 0.62 GB, free: 0.918 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/0.3673, allocations: 1.538 MB / 0.6215 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/0.3673, allocations: 0 / 0.6215 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/0.5769, allocations: 60.19 MB / 0.6803 GB, free: 159 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.032/9.609, allocations: 5.062 kB / 0.6803 GB, free: 159 MB / 0.5105 GB " [Timeout remaining time 650] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.706297491677105]