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.0008528/0.0008528, allocations: 92.31 kB / 20.95 MB, free: 3.594 MB / 18.57 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.0008325/0.0008325, allocations: 160.9 kB / 24.26 MB, free: 292 kB / 18.57 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 0.8648/0.8648, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2383/0.2383, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 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 1.924e-06/1.924e-06, allocations: 0 / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.619e-05, allocations: 4.422 kB / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.00769/0.007716, allocations: 9.038 MB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.01298, allocations: 3.611 MB / 389.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009902/0.01397, allocations: 71.62 kB / 389.4 MB, free: 6.617 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.01597, allocations: 2.02 MB / 391.4 MB, free: 4.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.01835, allocations: 1.742 MB / 393.2 MB, free: 2.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.01917, allocations: 0.6702 MB / 393.9 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.02194, allocations: 3.752 MB / 397.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.02398, allocations: 2.446 MB / 400.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.02566, allocations: 1.898 MB / 402 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.02707, allocations: 1.812 MB / 403.8 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.02734, allocations: 256 kB / 404 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009977/0.02834, allocations: 0.9711 MB / 405 MB, free: 6.969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009163/0.02926, allocations: 1.663 MB / 406.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.03002, allocations: 1.04 MB / 407.7 MB, free: 4.258 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.03363, allocations: 5.829 MB / 413.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.03363, allocations: 0 / 413.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03363, allocations: 0 / 413.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.368e-05/0.03371, allocations: 0 / 413.5 MB, free: 14.41 MB / 394.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.004256/0.03796, allocations: 4.065 MB / 417.6 MB, free: 10.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.038, allocations: 12.03 kB / 417.6 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004417/0.03844, allocations: 0.6082 MB / 418.2 MB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.04193, allocations: 2.249 MB / 420.4 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.04385, allocations: 1.965 MB / 422.4 MB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.04393, allocations: 185.2 kB / 422.6 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.04421, allocations: 256.2 kB / 422.8 MB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006923/0.05113, allocations: 8.498 MB / 431.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/0.05119, allocations: 43.62 kB / 431.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.05141, allocations: 119.9 kB / 431.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/0.05288, allocations: 1.703 MB / 433.2 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007173/0.06005, allocations: 7.075 MB / 440.3 MB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1425/0.2026, allocations: 33.06 MB / 473.3 MB, free: 73.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/0.2063, allocations: 2.83 MB / 476.2 MB, free: 72.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000904/0.2072, allocations: 1.36 MB / 477.5 MB, free: 72.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003087/0.2103, allocations: 3.521 MB / 481.1 MB, free: 70.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2103, allocations: 50.38 kB / 481.1 MB, free: 70.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 4.378e-06/0.2103, allocations: 1.719 kB / 481.1 MB, free: 70.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01583/0.2262, allocations: 11.97 MB / 493.1 MB, free: 65.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.2262, allocations: 172.9 kB / 493.2 MB, free: 65.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/0.2298, allocations: 4.108 MB / 497.4 MB, free: 64.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.2298, allocations: 46.52 kB / 497.4 MB, free: 64.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008641/0.2307, allocations: 2.83 MB / 0.4885 GB, free: 61.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.2309, allocations: 0.5379 MB / 0.489 GB, free: 61.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007816/0.2317, allocations: 1.067 MB / 0.4901 GB, free: 60.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.733e-05/0.2318, allocations: 317 kB / 0.4904 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.2332, allocations: 1.699 MB / 0.492 GB, free: 60.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.2355, allocations: 5.145 MB / 0.4971 GB, free: 54.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/0.2396, allocations: 7.413 MB / 0.5043 GB, free: 48.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-05/0.2397, allocations: 35 kB / 0.5043 GB, free: 48.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006043/0.2457, allocations: 7.001 MB / 0.5112 GB, free: 42.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.2458, allocations: 56 kB / 0.5112 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-05/0.2458, allocations: 132.7 kB / 0.5113 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.2462, allocations: 322.2 kB / 0.5117 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.248, allocations: 1.245 MB / 0.5129 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.2494, allocations: 2.383 MB / 0.5152 GB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.2516, allocations: 320.8 kB / 0.5155 GB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.2518, allocations: 331.6 kB / 0.5158 GB, free: 38.07 MB / 410.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.001418/0.2532, allocations: 1.786 MB / 0.5176 GB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.2535, allocations: 361.8 kB / 0.5179 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.2557, allocations: 2.362 MB / 0.5202 GB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.2557, allocations: 20 kB / 0.5202 GB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.2557, allocations: 4 kB / 0.5202 GB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2557, allocations: 5.484 kB / 0.5202 GB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/0.2612, allocations: 5.733 MB / 0.5258 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2612, allocations: 8.062 kB / 0.5258 GB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.2616, allocations: 171.8 kB / 0.526 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.2626, allocations: 0.7146 MB / 0.5267 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.2627, allocations: 20 kB / 0.5267 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.2656, allocations: 4.739 MB / 0.5314 GB, free: 23.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2656, allocations: 0 / 0.5314 GB, free: 23.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.269, allocations: 4.388 MB / 0.5356 GB, free: 18.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.2694, allocations: 329.7 kB / 0.536 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.2696, allocations: 23.98 kB / 0.536 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.2702, allocations: 99.84 kB / 0.5361 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2703, allocations: 68.47 kB / 0.5361 GB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.2703, allocations: 39.98 kB / 0.5362 GB, free: 18.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001679/0.272, allocations: 2.46 MB / 0.5386 GB, free: 15.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.272, allocations: 4.062 kB / 0.5386 GB, free: 15.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002412/0.2744, allocations: 0.8749 MB / 0.5394 GB, free: 14.79 MB / 410.7 MB 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.003575/0.278, allocations: 5.029 MB / 0.5443 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003238/0.2813, allocations: 3.886 MB / 0.5481 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2813, allocations: 0 / 0.5481 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.282, allocations: 1.041 MB / 0.5492 GB, free: 4.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.2832, allocations: 395.9 kB / 0.5495 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/0.3166, allocations: 38.52 MB / 0.5872 GB, free: 8.688 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.3183, allocations: 2.234 MB / 0.5893 GB, free: 6.422 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002103/0.3204, allocations: 1.668 MB / 0.591 GB, free: 4.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/0.3218, allocations: 1.527 MB / 0.5925 GB, free: 3.219 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3218, allocations: 0 / 0.5925 GB, free: 3.219 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1955/0.5172, allocations: 59.98 MB / 0.651 GB, free: 143 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.697/10.21, allocations: 5.844 kB / 0.651 GB, free: 143 MB / 474.7 MB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/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: 12.16467915661633]