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.0008076/0.0008076, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008559/0.0008559, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8823/0.8823, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2411/0.2411, allocations: 32.79 MB / 293.5 MB, free: 1.242 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.633e-05, allocations: 4.672 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1854/0.1854, allocations: 9.033 MB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.1899, allocations: 3.612 MB / 452.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.1905, allocations: 70.16 kB / 452.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.1922, allocations: 1.994 MB / 454.3 MB, free: 38.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.1939, allocations: 1.725 MB / 456 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.1945, allocations: 0.6638 MB / 456.7 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.1962, allocations: 3.758 MB / 460.4 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.1974, allocations: 2.381 MB / 462.8 MB, free: 35.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.1986, allocations: 1.903 MB / 464.7 MB, free: 34.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.1997, allocations: 1.812 MB / 466.5 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.1999, allocations: 259 kB / 466.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008875/0.2008, allocations: 0.965 MB / 467.8 MB, free: 33.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.2015, allocations: 1.667 MB / 469.4 MB, free: 33.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005752/0.2021, allocations: 1.036 MB / 470.5 MB, free: 32.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.2049, allocations: 5.827 MB / 476.3 MB, free: 30.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2049, allocations: 3.938 kB / 476.3 MB, free: 30.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2049, allocations: 7.406 kB / 476.3 MB, free: 30.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.2049, allocations: 0 / 476.3 MB, free: 30.45 MB / 410.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.003676/0.2086, allocations: 4.052 MB / 480.4 MB, free: 28.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2086, allocations: 13.95 kB / 480.4 MB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000438/0.2091, allocations: 0.6045 MB / 481 MB, free: 27.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.2126, allocations: 1.837 MB / 482.8 MB, free: 27.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.2147, allocations: 1.949 MB / 484.8 MB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2148, allocations: 188.5 kB / 484.9 MB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.2151, allocations: 254.8 kB / 485.2 MB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007594/0.2227, allocations: 8.501 MB / 493.7 MB, free: 22.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.767e-05/0.2228, allocations: 45.25 kB / 493.7 MB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.223, allocations: 122.7 kB / 493.9 MB, free: 22.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001674/0.2247, allocations: 1.697 MB / 495.6 MB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008077/0.2328, allocations: 7.085 MB / 0.4909 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.2533, allocations: 32.99 MB / 0.5231 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.2573, allocations: 2.824 MB / 0.5258 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.2585, allocations: 1.355 MB / 0.5272 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003618/0.2621, allocations: 3.526 MB / 0.5306 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2621, allocations: 43.97 kB / 0.5306 GB, free: 11.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 2.515e-06/0.2621, allocations: 4 kB / 0.5306 GB, free: 11.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01591/0.278, allocations: 11.94 MB / 0.5423 GB, free: 15.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.2781, allocations: 170.9 kB / 0.5425 GB, free: 14.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.2815, allocations: 4.115 MB / 0.5465 GB, free: 10.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.2815, allocations: 41.7 kB / 0.5465 GB, free: 10.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.2827, allocations: 2.835 MB / 0.5493 GB, free: 7.922 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.283, allocations: 0.535 MB / 0.5498 GB, free: 7.383 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008535/0.2838, allocations: 1.064 MB / 0.5509 GB, free: 6.309 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.2839, allocations: 305.1 kB / 0.5511 GB, free: 6.008 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.2856, allocations: 1.697 MB / 0.5528 GB, free: 4.305 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/0.2887, allocations: 5.148 MB / 0.5578 GB, free: 13.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004889/0.2935, allocations: 7.416 MB / 0.5651 GB, free: 4.297 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/0.2936, allocations: 36 kB / 0.5651 GB, free: 4.262 MB / 474.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006571/0.3001, allocations: 6.723 MB / 0.5717 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.3002, allocations: 60 kB / 0.5717 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-05/0.3003, allocations: 120 kB / 0.5718 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.3006, allocations: 322.6 kB / 0.5722 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.3025, allocations: 1.244 MB / 0.5734 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.304, allocations: 2.38 MB / 0.5757 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.3058, allocations: 323.6 kB / 0.576 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/0.3061, allocations: 340 kB / 0.5763 GB, free: 8.656 MB / 490.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.001873/0.3079, allocations: 1.783 MB / 0.5781 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.3082, allocations: 329.8 kB / 0.5784 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.3108, allocations: 2.363 MB / 0.5807 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.3108, allocations: 15.94 kB / 0.5807 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3108, allocations: 4 kB / 0.5807 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3108, allocations: 3.984 kB / 0.5807 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.3173, allocations: 5.719 MB / 0.5863 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3173, allocations: 0 / 0.5863 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.3177, allocations: 176.6 kB / 0.5865 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.3188, allocations: 0.7148 MB / 0.5872 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.3189, allocations: 20 kB / 0.5872 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/0.3228, allocations: 4.723 MB / 0.5918 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3228, allocations: 4.062 kB / 0.5918 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/0.3268, allocations: 4.349 MB / 0.596 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.3273, allocations: 337.6 kB / 0.5964 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.3275, allocations: 16 kB / 0.5964 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/0.3282, allocations: 107.9 kB / 0.5965 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3283, allocations: 80.39 kB / 0.5966 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.3284, allocations: 28.47 kB / 0.5966 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002472/0.3308, allocations: 2.467 MB / 0.599 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.3308, allocations: 0 / 0.599 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002656/0.3335, allocations: 0.8788 MB / 0.5999 GB, free: 348 kB / 0.4948 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.00438/0.3379, allocations: 4.982 MB / 0.6047 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004023/0.3419, allocations: 3.906 MB / 0.6085 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3419, allocations: 0 / 0.6085 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.3428, allocations: 1.037 MB / 0.6095 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.344, allocations: 396.4 kB / 0.6099 GB, free: 6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1891/0.5332, allocations: 38.17 MB / 0.6472 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.5348, allocations: 2.23 MB / 0.6494 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002297/0.5371, allocations: 1.672 MB / 0.651 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.5382, allocations: 1.525 MB / 0.6525 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.5382, allocations: 2.906 kB / 0.6525 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06332/0.6015, allocations: 59.63 MB / 0.7107 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.344/9.945, allocations: 6.984 kB / 0.7107 GB, free: 110.9 MB / 0.5261 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/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: 12.016225828789175]