Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001792/0.001792, allocations: 105.1 kB / 21.22 MB, free: 0.6484 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.002209/0.002209, allocations: 218.9 kB / 24.52 MB, free: 3.945 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.583/1.583, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 44.93 MB / 359.6 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 65.47 MB / 0.5577 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01259/0.3579, allocations: 8.971 MB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008613/0.3665, allocations: 3.594 MB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.3683, allocations: 71.62 kB / 0.5701 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00421/0.3725, allocations: 1.9 MB / 0.5719 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005376/0.3779, allocations: 1.681 MB / 0.5736 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.3798, allocations: 0.6082 MB / 0.5742 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005935/0.3858, allocations: 3.373 MB / 0.5775 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003815/0.3896, allocations: 2.118 MB / 0.5795 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.3923, allocations: 1.257 MB / 0.5808 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.3956, allocations: 1.818 MB / 0.5825 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008014/0.3964, allocations: 259.9 kB / 0.5828 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.3986, allocations: 0.9322 MB / 0.5837 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.4008, allocations: 1.593 MB / 0.5852 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.4033, allocations: 1.335 MB / 0.5865 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008678/0.412, allocations: 5.832 MB / 0.5922 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.412, allocations: 0 / 0.5922 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.412, allocations: 7.938 kB / 0.5922 GB, free: 4.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002081/0.4122, allocations: 0 / 0.5922 GB, free: 4.043 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.01055/0.4228, allocations: 4.046 MB / 0.5962 GB, free: 15.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4228, allocations: 12.03 kB / 0.5962 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001666/0.423, allocations: 89.16 kB / 0.5963 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001644/0.4247, allocations: 0.6003 MB / 0.5969 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007035/0.4317, allocations: 1.812 MB / 0.5986 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005491/0.4372, allocations: 2.106 MB / 0.6007 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.4374, allocations: 192.8 kB / 0.6009 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.4386, allocations: 255.8 kB / 0.6011 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.4578, allocations: 8.498 MB / 0.6094 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002921/0.4581, allocations: 43.67 kB / 0.6095 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.4595, allocations: 119.9 kB / 0.6096 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003577/0.4631, allocations: 1.699 MB / 0.6112 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.4805, allocations: 7.118 MB / 0.6182 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05373/0.5342, allocations: 32.79 MB / 0.6502 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008431/0.5427, allocations: 2.733 MB / 0.6529 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.545, allocations: 1.368 MB / 0.6542 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007808/0.5528, allocations: 3.357 MB / 0.6575 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.5529, allocations: 47.16 kB / 0.6575 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.93e-06/0.5529, allocations: 0 / 0.6575 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03486/0.5878, allocations: 11.58 MB / 0.6689 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5879, allocations: 170.8 kB / 0.669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007102/0.595, allocations: 3.73 MB / 0.6727 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002687/0.5953, allocations: 49.69 kB / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002863/0.5981, allocations: 2.858 MB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008696/0.599, allocations: 0.5429 MB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002386/0.6014, allocations: 1.084 MB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6015, allocations: 305.1 kB / 0.6774 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.6046, allocations: 1.697 MB / 0.679 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006707/0.6113, allocations: 5.148 MB / 0.6841 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.6222, allocations: 7.399 MB / 0.6913 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001677/0.6224, allocations: 36 kB / 0.6913 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01477/0.6372, allocations: 6.726 MB / 0.6979 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.6374, allocations: 60 kB / 0.698 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002521/0.6376, allocations: 120.8 kB / 0.6981 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008286/0.6384, allocations: 324.7 kB / 0.6984 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004447/0.6429, allocations: 1.236 MB / 0.6996 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/0.6462, allocations: 2.397 MB / 0.7019 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/0.6504, allocations: 291.6 kB / 0.7022 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/0.6516, allocations: 336 kB / 0.7025 GB, free: 13.47 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.004424/0.656, allocations: 1.791 MB / 0.7043 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009478/0.657, allocations: 325.8 kB / 0.7046 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/0.6629, allocations: 2.359 MB / 0.7069 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-05/0.6629, allocations: 15.94 kB / 0.7069 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.6629, allocations: 8 kB / 0.7069 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.6629, allocations: 7.969 kB / 0.7069 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.6789, allocations: 5.64 MB / 0.7124 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.6789, allocations: 4 kB / 0.7124 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/0.6799, allocations: 179.8 kB / 0.7126 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/0.6824, allocations: 0.7107 MB / 0.7133 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.6826, allocations: 27.98 kB / 0.7133 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/0.6896, allocations: 4.668 MB / 0.7179 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.6896, allocations: 4.469 kB / 0.7179 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008467/0.6981, allocations: 4.349 MB / 0.7221 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.6992, allocations: 305.7 kB / 0.7224 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007785/0.7, allocations: 23.94 kB / 0.7224 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.7016, allocations: 67.91 kB / 0.7225 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.7019, allocations: 76.45 kB / 0.7226 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.702, allocations: 35.98 kB / 0.7226 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004926/0.7069, allocations: 2.323 MB / 0.7249 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7069, allocations: 0 / 0.7249 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005217/0.7121, allocations: 0.8046 MB / 0.7257 GB, free: 5.543 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.009154/0.7213, allocations: 4.983 MB / 0.7305 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.287/1.008, allocations: 3.881 MB / 0.7343 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.008, allocations: 0.875 kB / 0.7343 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/1.01, allocations: 1.043 MB / 0.7353 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/1.013, allocations: 382 kB / 0.7357 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05992/1.073, allocations: 37.79 MB / 0.7726 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/1.077, allocations: 2.231 MB / 0.7748 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003631/1.08, allocations: 1.656 MB / 0.7764 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/1.083, allocations: 1.522 MB / 0.7779 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.587e-06/1.083, allocations: 4 kB / 0.7779 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.192, allocations: 60.08 MB / 0.8366 GB, free: 59.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.25/26.44, allocations: 15.94 kB / 0.8366 GB, free: 59.39 MB / 0.5606 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 30.66066230495926]