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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001842/0.001842, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002189/0.002189, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.92 MB / 360.8 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 83.86 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3349, allocations: 66.08 MB / 0.5607 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01263/0.3475, allocations: 10.31 MB / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008286/0.3558, allocations: 3.845 MB / 0.5746 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.3576, allocations: 67.69 kB / 0.5746 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004135/0.3617, allocations: 1.981 MB / 0.5766 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.3664, allocations: 1.673 MB / 0.5782 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3678, allocations: 0.6121 MB / 0.5788 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005383/0.3732, allocations: 3.36 MB / 0.5821 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.3764, allocations: 2.126 MB / 0.5842 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.3786, allocations: 1.261 MB / 0.5854 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.3816, allocations: 1.822 MB / 0.5872 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006145/0.3822, allocations: 255.9 kB / 0.5874 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.3844, allocations: 1.049 MB / 0.5884 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.3862, allocations: 1.597 MB / 0.59 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002549/0.3887, allocations: 1.817 MB / 0.5918 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008266/0.397, allocations: 5.809 MB / 0.5974 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.397, allocations: 8 kB / 0.5974 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.397, allocations: 3.938 kB / 0.5975 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001631/0.3972, allocations: 0 / 0.5975 GB, free: 14.48 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.008831/0.406, allocations: 4.046 MB / 0.6014 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.4061, allocations: 12.03 kB / 0.6014 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001045/0.4071, allocations: 0.6043 MB / 0.602 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/0.4134, allocations: 1.804 MB / 0.6038 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/0.4193, allocations: 2.102 MB / 0.6058 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.4195, allocations: 193 kB / 0.606 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007791/0.4202, allocations: 255.8 kB / 0.6062 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.437, allocations: 8.447 MB / 0.6145 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4371, allocations: 35.69 kB / 0.6145 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/0.4375, allocations: 127.9 kB / 0.6147 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003137/0.4407, allocations: 1.695 MB / 0.6163 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.4561, allocations: 7.114 MB / 0.6233 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05425/0.5104, allocations: 33.97 MB / 0.6564 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.5246, allocations: 2.736 MB / 0.6591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/0.5282, allocations: 1.365 MB / 0.6604 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.5401, allocations: 3.688 MB / 0.664 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.5401, allocations: 43.22 kB / 0.6641 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.4e-06/0.5401, allocations: 4 kB / 0.6641 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03727/0.5774, allocations: 11.52 MB / 0.6753 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.5775, allocations: 182.8 kB / 0.6755 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005377/0.5829, allocations: 3.726 MB / 0.6791 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.5831, allocations: 41.7 kB / 0.6792 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/0.5854, allocations: 2.866 MB / 0.682 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006235/0.586, allocations: 0.5429 MB / 0.6825 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.5874, allocations: 1.084 MB / 0.6836 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5876, allocations: 309 kB / 0.6839 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/0.5901, allocations: 1.701 MB / 0.6855 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.5956, allocations: 5.119 MB / 0.6905 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009236/0.6048, allocations: 7.415 MB / 0.6978 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.6049, allocations: 36 kB / 0.6978 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01242/0.6173, allocations: 6.72 MB / 0.7044 GB, free: 11.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.6174, allocations: 56 kB / 0.7044 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.6176, allocations: 124 kB / 0.7045 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.6183, allocations: 321.3 kB / 0.7048 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/0.6223, allocations: 1.24 MB / 0.706 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.6254, allocations: 2.39 MB / 0.7084 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/0.629, allocations: 295.7 kB / 0.7087 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006371/0.6297, allocations: 331.9 kB / 0.709 GB, free: 6.633 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.002824/0.6325, allocations: 1.791 MB / 0.7107 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/0.6331, allocations: 325.8 kB / 0.711 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004813/0.6379, allocations: 2.363 MB / 0.7133 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.6379, allocations: 16 kB / 0.7134 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6379, allocations: 4 kB / 0.7134 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6379, allocations: 3.984 kB / 0.7134 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.6501, allocations: 5.893 MB / 0.7191 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.6501, allocations: 4.062 kB / 0.7191 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/0.651, allocations: 171.8 kB / 0.7193 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.6531, allocations: 0.7146 MB / 0.72 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.6532, allocations: 27.98 kB / 0.72 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006559/0.6597, allocations: 4.706 MB / 0.7246 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6597, allocations: 4.5 kB / 0.7246 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007349/0.6671, allocations: 4.353 MB / 0.7289 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/0.668, allocations: 305.7 kB / 0.7292 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.6683, allocations: 19.94 kB / 0.7292 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6693, allocations: 75.97 kB / 0.7293 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6695, allocations: 80.44 kB / 0.7293 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/0.6696, allocations: 28 kB / 0.7294 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2614/0.931, allocations: 2.322 MB / 0.7316 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.931, allocations: 0 / 0.7316 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004914/0.9359, allocations: 0.804 MB / 0.7324 GB, free: 152.7 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.006532/0.9424, allocations: 4.969 MB / 0.7373 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005216/0.9476, allocations: 3.893 MB / 0.7411 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.9476, allocations: 3.969 kB / 0.7411 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.9488, allocations: 1.04 MB / 0.7421 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.9511, allocations: 388.5 kB / 0.7425 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/0.9911, allocations: 37.78 MB / 0.7793 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/0.9933, allocations: 2.786 MB / 0.7821 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002886/0.9962, allocations: 1.66 MB / 0.7837 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/0.9978, allocations: 1.526 MB / 0.7852 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.9978, allocations: 3.938 kB / 0.7852 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.099, allocations: 62.32 MB / 0.846 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.37/27.47, allocations: 4 kB / 0.846 GB, free: 44.24 MB / 0.5606 GB " [Timeout remaining time 632] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/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_trunk_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.618578458997945]