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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002297/0.002297, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.539/1.539, allocations: 207.6 MB / 230.4 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] 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.3687/0.3687, allocations: 44.24 MB / 326.5 MB, free: 6.812 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 76.36 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 60.99 MB / 0.5109 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01014/0.3381, allocations: 10.34 MB / 0.521 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0079/0.346, allocations: 3.803 MB / 0.5247 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.3483, allocations: 51.88 kB / 0.5248 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.3526, allocations: 1.97 MB / 0.5267 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005485/0.3581, allocations: 1.7 MB / 0.5284 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.3599, allocations: 0.616 MB / 0.529 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006578/0.3665, allocations: 3.344 MB / 0.5322 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003879/0.3704, allocations: 2.212 MB / 0.5344 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.3731, allocations: 1.246 MB / 0.5356 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/0.3765, allocations: 1.822 MB / 0.5374 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009664/0.3775, allocations: 252 kB / 0.5376 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.3802, allocations: 1.057 MB / 0.5387 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.3827, allocations: 1.624 MB / 0.5402 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003571/0.3863, allocations: 1.844 MB / 0.542 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3964, allocations: 5.866 MB / 0.5478 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.3964, allocations: 0 / 0.5478 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.3964, allocations: 4 kB / 0.5478 GB, free: 9.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.3967, allocations: 0 / 0.5478 GB, free: 9.094 MB / 414.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.01125/0.4079, allocations: 4.156 MB / 0.5518 GB, free: 4.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.408, allocations: 11.89 kB / 0.5518 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001363/0.4093, allocations: 0.6121 MB / 0.5524 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006858/0.4162, allocations: 1.804 MB / 0.5542 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/0.4228, allocations: 2.433 MB / 0.5566 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.423, allocations: 196.9 kB / 0.5568 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.424, allocations: 255.8 kB / 0.557 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.4414, allocations: 8.436 MB / 0.5652 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.4415, allocations: 39.64 kB / 0.5653 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006348/0.4422, allocations: 123.9 kB / 0.5654 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003144/0.4453, allocations: 1.699 MB / 0.5671 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.4603, allocations: 7.106 MB / 0.574 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05036/0.5107, allocations: 34.09 MB / 0.6073 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007973/0.5187, allocations: 3.181 MB / 0.6104 GB, free: 6.984 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.5209, allocations: 1.357 MB / 0.6117 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00923/0.5301, allocations: 4.378 MB / 0.616 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/0.5302, allocations: 51.05 kB / 0.6161 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.069e-06/0.5302, allocations: 0 / 0.6161 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03455/0.5648, allocations: 11.76 MB / 0.6275 GB, free: 5.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5649, allocations: 166.9 kB / 0.6277 GB, free: 4.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008196/0.5731, allocations: 3.755 MB / 0.6314 GB, free: 1.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000402/0.5735, allocations: 45.7 kB / 0.6314 GB, free: 1.078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003078/0.5766, allocations: 2.87 MB / 0.6342 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009344/0.5775, allocations: 0.5429 MB / 0.6347 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002685/0.5802, allocations: 1.084 MB / 0.6358 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5803, allocations: 304.9 kB / 0.6361 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/0.5834, allocations: 1.697 MB / 0.6377 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006653/0.5901, allocations: 5.123 MB / 0.6427 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3169/0.907, allocations: 7.387 MB / 0.65 GB, free: 114 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/0.9071, allocations: 38.88 kB / 0.65 GB, free: 114 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01556/0.9226, allocations: 6.714 MB / 0.6566 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.9228, allocations: 56.34 kB / 0.6566 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003084/0.9231, allocations: 127 kB / 0.6567 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009159/0.924, allocations: 316.6 kB / 0.657 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/0.9286, allocations: 1.243 MB / 0.6582 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.9312, allocations: 2.498 MB / 0.6607 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/0.9357, allocations: 290 kB / 0.661 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008221/0.9365, allocations: 332.7 kB / 0.6613 GB, free: 109.6 MB / 0.4981 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.003024/0.9395, allocations: 1.79 MB / 0.663 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006267/0.9401, allocations: 328.9 kB / 0.6633 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.9442, allocations: 2.358 MB / 0.6656 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.9443, allocations: 19.62 kB / 0.6657 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.9443, allocations: 3.906 kB / 0.6657 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.9443, allocations: 7.359 kB / 0.6657 GB, free: 108 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.9558, allocations: 5.907 MB / 0.6714 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.9558, allocations: 0 / 0.6714 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.9567, allocations: 173.6 kB / 0.6716 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.9587, allocations: 0.7199 MB / 0.6723 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.9588, allocations: 19.84 kB / 0.6723 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/0.9635, allocations: 4.819 MB / 0.677 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9635, allocations: 0 / 0.677 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.9693, allocations: 4.333 MB / 0.6813 GB, free: 96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/0.9709, allocations: 0.5505 MB / 0.6818 GB, free: 95.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/0.9714, allocations: 20 kB / 0.6818 GB, free: 95.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.9724, allocations: 71.84 kB / 0.6819 GB, free: 95.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.9726, allocations: 67.08 kB / 0.682 GB, free: 95.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.9727, allocations: 39.98 kB / 0.682 GB, free: 95.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00317/0.9759, allocations: 2.335 MB / 0.6843 GB, free: 92.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9759, allocations: 0 / 0.6843 GB, free: 92.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004606/0.9805, allocations: 0.8187 MB / 0.6851 GB, free: 92.11 MB / 0.4981 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.005912/0.9864, allocations: 4.977 MB / 0.6899 GB, free: 87.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0058/0.9922, allocations: 3.879 MB / 0.6937 GB, free: 83.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.9922, allocations: 0.625 kB / 0.6937 GB, free: 83.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.9935, allocations: 1.04 MB / 0.6947 GB, free: 82.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.9964, allocations: 396.4 kB / 0.6951 GB, free: 81.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04858/1.045, allocations: 37.8 MB / 0.732 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/1.048, allocations: 2.797 MB / 0.7348 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003313/1.051, allocations: 1.656 MB / 0.7364 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/1.053, allocations: 1.53 MB / 0.7379 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of SimCode: time 1.233e-06/1.053, allocations: 4 kB / 0.7379 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/1.174, allocations: 58.25 MB / 0.7948 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/25.35, allocations: 3.953 kB / 0.7948 GB, free: 6.555 MB / 0.5294 GB " [Timeout remaining time 635] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 28.80331419315189]