Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001703/0.001703, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.0019/0.0019, allocations: 215.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 46.94 MB / 360.9 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.91 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3782, allocations: 66.03 MB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0127/0.3909, allocations: 10.32 MB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008114/0.3991, allocations: 3.832 MB / 0.5745 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.4006, allocations: 71.62 kB / 0.5745 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004411/0.405, allocations: 1.981 MB / 0.5765 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.4094, allocations: 1.685 MB / 0.5781 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.4111, allocations: 0.6082 MB / 0.5787 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006108/0.4172, allocations: 3.361 MB / 0.582 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/0.4211, allocations: 2.122 MB / 0.5841 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.4238, allocations: 1.261 MB / 0.5853 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.4272, allocations: 1.814 MB / 0.5871 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009589/0.4282, allocations: 256 kB / 0.5873 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.4309, allocations: 1.049 MB / 0.5883 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.4332, allocations: 1.605 MB / 0.5899 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003222/0.4365, allocations: 1.817 MB / 0.5917 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008755/0.4452, allocations: 5.812 MB / 0.5974 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4452, allocations: 0 / 0.5974 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4452, allocations: 0 / 0.5974 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002133/0.4454, allocations: 4 kB / 0.5974 GB, free: 14.64 MB / 446.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.01034/0.4558, allocations: 4.046 MB / 0.6013 GB, free: 10.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4558, allocations: 8.031 kB / 0.6013 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001615/0.4575, allocations: 0.612 MB / 0.6019 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/0.4644, allocations: 1.808 MB / 0.6037 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005559/0.4699, allocations: 2.091 MB / 0.6057 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/0.4702, allocations: 200.9 kB / 0.6059 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.4714, allocations: 255.8 kB / 0.6062 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.489, allocations: 8.447 MB / 0.6144 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.4892, allocations: 39.67 kB / 0.6144 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009255/0.4901, allocations: 123.9 kB / 0.6146 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003201/0.4933, allocations: 1.699 MB / 0.6162 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.5092, allocations: 7.11 MB / 0.6232 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05121/0.5605, allocations: 33.97 MB / 0.6563 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008035/0.5685, allocations: 2.745 MB / 0.659 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.5708, allocations: 1.355 MB / 0.6603 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008494/0.5793, allocations: 3.688 MB / 0.6639 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.658e-05/0.5793, allocations: 51.16 kB / 0.664 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.839e-06/0.5793, allocations: 0 / 0.664 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03455/0.6139, allocations: 11.52 MB / 0.6752 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.614, allocations: 170.9 kB / 0.6754 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007755/0.6218, allocations: 3.726 MB / 0.6791 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003148/0.6221, allocations: 41.7 kB / 0.6791 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00349/0.6256, allocations: 2.87 MB / 0.6819 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.6266, allocations: 0.539 MB / 0.6824 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002677/0.6293, allocations: 1.084 MB / 0.6835 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6295, allocations: 305.1 kB / 0.6838 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003595/0.633, allocations: 1.709 MB / 0.6854 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007754/0.6408, allocations: 5.123 MB / 0.6904 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.6521, allocations: 7.419 MB / 0.6977 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/0.6522, allocations: 32 kB / 0.6977 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01495/0.6671, allocations: 6.713 MB / 0.7043 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.6673, allocations: 63.94 kB / 0.7043 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002435/0.6676, allocations: 120 kB / 0.7044 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008644/0.6684, allocations: 329.5 kB / 0.7048 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005022/0.6735, allocations: 1.236 MB / 0.706 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/0.6771, allocations: 2.389 MB / 0.7083 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/0.6823, allocations: 295.7 kB / 0.7086 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/0.6834, allocations: 332 kB / 0.7089 GB, free: 6.797 MB / 0.545 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.004436/0.6878, allocations: 1.787 MB / 0.7106 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009238/0.6888, allocations: 325.8 kB / 0.711 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005893/0.6946, allocations: 2.37 MB / 0.7133 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-05/0.6947, allocations: 16 kB / 0.7133 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.6947, allocations: 4.125 kB / 0.7133 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.6947, allocations: 7.984 kB / 0.7133 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.7107, allocations: 5.893 MB / 0.7191 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/0.7107, allocations: 3.938 kB / 0.7191 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.7117, allocations: 175.7 kB / 0.7192 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/0.7142, allocations: 0.7147 MB / 0.7199 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/0.7144, allocations: 24 kB / 0.7199 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007684/0.7221, allocations: 4.711 MB / 0.7245 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7221, allocations: 4.031 kB / 0.7245 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008986/0.7311, allocations: 4.341 MB / 0.7288 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.7323, allocations: 305.7 kB / 0.7291 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008919/0.7332, allocations: 20.06 kB / 0.7291 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.7349, allocations: 79.83 kB / 0.7292 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.7352, allocations: 72.47 kB / 0.7292 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/0.7354, allocations: 35.98 kB / 0.7293 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3355/1.071, allocations: 2.316 MB / 0.7315 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/1.071, allocations: 0 / 0.7315 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005727/1.077, allocations: 0.8041 MB / 0.7323 GB, free: 152.8 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.007258/1.084, allocations: 4.971 MB / 0.7372 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005505/1.089, allocations: 3.896 MB / 0.741 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.089, allocations: 7.719 kB / 0.741 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.091, allocations: 1.037 MB / 0.742 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.094, allocations: 382.1 kB / 0.7424 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05071/1.145, allocations: 37.79 MB / 0.7793 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003198/1.148, allocations: 2.782 MB / 0.782 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003639/1.151, allocations: 1.66 MB / 0.7836 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/1.154, allocations: 1.526 MB / 0.7851 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.804e-06/1.154, allocations: 0 / 0.7851 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.257, allocations: 62.33 MB / 0.846 GB, free: 44.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.6/25.86, allocations: 9.906 kB / 0.846 GB, free: 44.65 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 29.46456324495375]